summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorantirez <antirez@metal.(none)>2010-05-02 15:05:34 +0200
committerantirez <antirez@metal.(none)>2010-05-02 15:05:34 +0200
commit10ce12761a9971512e0702c73434bcef0f212e7d (patch)
treeba41dcc9616795517aea72c5a07349f22256bc93 /fmacros.h
parent7aaaad507060b131ff18d4637ea63499828076d6 (diff)
downloadredis-10ce12761a9971512e0702c73434bcef0f212e7d.tar.gz
On Linux now fdatasync() is used insetad of fsync() in order to flush the AOF file kernel buffers
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fmacros.h b/fmacros.h
index 986776f22..405be20aa 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -2,7 +2,7 @@
#define _REDIS_FMACRO_H
#define _BSD_SOURCE
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 700
#define _LARGEFILE_SOURCE
#define _FILE_OFFSET_BITS 64