summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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