]> git.saurik.com Git - redis.git/commitdiff
added the fmacros to enable support for fseeko() lseeko() with 64bit off_t
authorantirez <antirez@gmail.com>
Thu, 7 Jan 2010 20:49:00 +0000 (15:49 -0500)
committerantirez <antirez@gmail.com>
Thu, 7 Jan 2010 20:49:00 +0000 (15:49 -0500)
fmacros.h

index 7c9b91ae8bcaeaa15d49ab2bf7c7547ee86931cc..986776f2241d2b5df9fce7833d09133c26ffc859 100644 (file)
--- a/fmacros.h
+++ b/fmacros.h
@@ -3,5 +3,7 @@
 
 #define _BSD_SOURCE
 #define _XOPEN_SOURCE
+#define _LARGEFILE_SOURCE
+#define _FILE_OFFSET_BITS 64
 
 #endif