mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12315 from ladislas/fix/equeue-unit-tests-on-macOS
Add check for __APPLE__ & __MACH__ to fix unit tests on macOSpull/12335/head
commit
c1ce5cb20c
|
@ -35,7 +35,7 @@ extern "C" {
|
|||
// Try to infer a platform if none was manually selected
|
||||
#if !defined(EQUEUE_PLATFORM_POSIX) \
|
||||
&& !defined(EQUEUE_PLATFORM_MBED)
|
||||
#if defined(__unix__)
|
||||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#define EQUEUE_PLATFORM_POSIX
|
||||
#elif defined(__MBED__)
|
||||
#define EQUEUE_PLATFORM_MBED
|
||||
|
|
Loading…
Reference in New Issue