mirror of
https://github.com/fluencelabs/redis
synced 2025-03-31 14:51:04 +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 _BSD_SOURCE
|
||||
|
||||
#ifdef __linux__
|
||||
#define _XOPEN_SOURCE 700
|
||||
#else
|
||||
#define _XOPEN_SOURCE
|
||||
#endif
|
||||
|
||||
#define _LARGEFILE_SOURCE
|
||||
#define _FILE_OFFSET_BITS 64
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user