]> git.saurik.com Git - redis.git/blobdiff - fmacros.h
On Linux now fdatasync() is used insetad of fsync() in order to flush the AOF file...
[redis.git] / fmacros.h
index 7c9b91ae8bcaeaa15d49ab2bf7c7547ee86931cc..405be20aa98e870cadda1a4c3e00e83f37df28f2 100644 (file)
--- a/fmacros.h
+++ b/fmacros.h
@@ -2,6 +2,8 @@
 #define _REDIS_FMACRO_H
 
 #define _BSD_SOURCE
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 700
+#define _LARGEFILE_SOURCE
+#define _FILE_OFFSET_BITS 64
 
 #endif