summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-03-29 11:02:23 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-03-29 11:02:23 +0200
commitaeeea0076d578ca8662a03a36e05f9c2face30f3 (patch)
tree47d81299181309ef79beb14a9dafb06c31b254a1
parent8e2c39200d2a643180b1bc07aaa234056d5354f4 (diff)
Update fmacros.h
-rw-r--r--fmacros.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/fmacros.h b/fmacros.h
index 38f4648..65f9692 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -1,7 +1,9 @@
-#ifndef _REDIS_FMACRO_H
-#define _REDIS_FMACRO_H
+#ifndef __HIREDIS_FMACRO_H
+#define __HIREDIS_FMACRO_H
+#ifndef _BSD_SOURCE
#define _BSD_SOURCE
+#endif
#ifdef __linux__
#define _XOPEN_SOURCE 700
@@ -9,7 +11,4 @@
#define _XOPEN_SOURCE
#endif
-#define _LARGEFILE_SOURCE
-#define _FILE_OFFSET_BITS 64
-
#endif