mirror of
https://github.com/fluencelabs/redis
synced 2025-04-03 16:21:03 +00:00
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…
x
Reference in New Issue
Block a user