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