diff options
-rw-r--r-- | src/network/core/os_abstraction.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index c7df16a93..792c42658 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -176,6 +176,11 @@ static inline bool SetNoDelay(int d) #endif } +#ifdef __APPLE__ +/* Looks like sys/socket.h uses a name we got in macros.h */ +#undef ALIGN +#endif + #endif /* ENABLE_NETWORK */ #endif /* NETWORK_CORE_OS_ABSTRACTION_H */ |