diff options
-rw-r--r-- | fmacros.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,7 +2,13 @@ #define _REDIS_FMACRO_H #define _BSD_SOURCE + +#ifdef __linux__ #define _XOPEN_SOURCE 700 +#else +#define _XOPEN_SOURCE +#endif + #define _LARGEFILE_SOURCE #define _FILE_OFFSET_BITS 64 |