mirror of https://mirror.osredm.com/root/redis.git
compilation fix for mac os x
This commit is contained in:
parent
48d729a7d9
commit
af090ffa52
|
@ -2,7 +2,13 @@
|
||||||
#define _REDIS_FMACRO_H
|
#define _REDIS_FMACRO_H
|
||||||
|
|
||||||
#define _BSD_SOURCE
|
#define _BSD_SOURCE
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
#define _XOPEN_SOURCE 700
|
#define _XOPEN_SOURCE 700
|
||||||
|
#else
|
||||||
|
#define _XOPEN_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
#define _LARGEFILE_SOURCE
|
#define _LARGEFILE_SOURCE
|
||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue