summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-01-07 15:49:00 -0500
committerantirez <antirez@gmail.com>2010-01-07 15:49:00 -0500
commit87eaf97f1452a31e847e1be0923479f41cdcd81d (patch)
treeeb693aa1ec86ef3f5d4c7e918ce6e15f207a0a86 /fmacros.h
parentb492cf00d8d408d1335bdef3c3f3a10ce3f45c48 (diff)
downloadredis-87eaf97f1452a31e847e1be0923479f41cdcd81d.tar.gz
added the fmacros to enable support for fseeko() lseeko() with 64bit off_t
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fmacros.h b/fmacros.h
index 7c9b91ae8..986776f22 100644
--- 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