diff options
author | Ted Nyman <ted@github.com> | 2016-06-19 22:14:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-19 22:14:41 -0700 |
commit | bc0ea5c466e7ce69df96ea410b2a84f7312cf1a0 (patch) | |
tree | 596eaf918a755c697efeed4fcd6bb791b520c01d | |
parent | e30db1a3bea4ad464470dc22be9280c0ef58f4c1 (diff) |
Do not define _XOPEN_SOURCE for OS X
Resolves failed `make` on OS X.
-rw-r--r-- | fmacros.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,8 +13,10 @@ #if defined(__sun__) #define _POSIX_C_SOURCE 200112L #else +#if !(defined(__APPLE__) && defined(__MACH__)) #define _XOPEN_SOURCE 600 #endif +#endif #if defined(__APPLE__) && defined(__MACH__) #define _OSX |