]> git.saurik.com Git - redis.git/commitdiff
Revert "define __USE_GNU to get O_DIRECT"
authorantirez <antirez@gmail.com>
Wed, 21 Apr 2010 08:31:08 +0000 (10:31 +0200)
committerantirez <antirez@gmail.com>
Wed, 21 Apr 2010 08:31:08 +0000 (10:31 +0200)
This reverts commit 122c04983400a076423811740f2b87163ea95c00.

redis.c

diff --git a/redis.c b/redis.c
index 7907bb9f1bbfe35ae0cb019d5198cc12b7c5c9eb..de4f5763d79acb07a0f00572d6d06ee2a9b77f84 100644 (file)
--- a/redis.c
+++ b/redis.c
@@ -54,7 +54,6 @@
 #include <inttypes.h>
 #include <arpa/inet.h>
 #include <sys/stat.h>
-#define __USE_GNU
 #include <fcntl.h>
 #include <sys/time.h>
 #include <sys/resource.h>