]> git.saurik.com Git - redis.git/blobdiff - fmacros.h
Merge http://github.com/ngmoco/redis
[redis.git] / fmacros.h
index 986776f2241d2b5df9fce7833d09133c26ffc859..38f46482aa86a8ec5e15f999f009e21f3fc3e461 100644 (file)
--- a/fmacros.h
+++ b/fmacros.h
@@ -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