Skip to content

Commit

Permalink
Do not define _XOPEN_SOURCE for OS X
Browse files Browse the repository at this point in the history
Resolves failed `make` on OS X.
  • Loading branch information
tnm committed Jun 20, 2016
1 parent e30db1a commit bc0ea5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fmacros.h
Expand Up @@ -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
Expand Down

0 comments on commit bc0ea5c

Please sign in to comment.