Commit af090ffa authored by antirez's avatar antirez
Browse files

compilation fix for mac os x

parent 48d729a7
...@@ -2,7 +2,13 @@ ...@@ -2,7 +2,13 @@
#define _REDIS_FMACRO_H #define _REDIS_FMACRO_H
#define _BSD_SOURCE #define _BSD_SOURCE
#ifdef __linux__
#define _XOPEN_SOURCE 700 #define _XOPEN_SOURCE 700
#else
#define _XOPEN_SOURCE
#endif
#define _LARGEFILE_SOURCE #define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64 #define _FILE_OFFSET_BITS 64
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment