1 | #ifndef __HIREDIS_FMACRO_H |
---|---|
2 | #define __HIREDIS_FMACRO_H |
3 | |
4 | #ifndef _AIX |
5 | #define _XOPEN_SOURCE 600 |
6 | #define _POSIX_C_SOURCE 200112L |
7 | #endif |
8 | |
9 | #if defined(__APPLE__) && defined(__MACH__) |
10 | /* Enable TCP_KEEPALIVE */ |
11 | #define _DARWIN_C_SOURCE |
12 | #endif |
13 | |
14 | #endif |
15 |