Skip to content

Commit d9e39f1

Browse files
committed
Enable equeue to compile on Mac
Use the same configuration as for Unix as these are broadly compatible.
1 parent c60c71b commit d9e39f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

events/internal/equeue_platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ extern "C" {
3535
// Try to infer a platform if none was manually selected
3636
#if !defined(EQUEUE_PLATFORM_POSIX) \
3737
&& !defined(EQUEUE_PLATFORM_MBED)
38-
#if defined(__unix__)
38+
#if defined(__unix__) || defined(__APPLE__)
3939
#define EQUEUE_PLATFORM_POSIX
4040
#elif defined(__MBED__)
4141
#define EQUEUE_PLATFORM_MBED

0 commit comments

Comments
 (0)