2011-03-29 09:02:23 +00:00
|
|
|
#ifndef __HIREDIS_FMACRO_H
|
|
|
|
#define __HIREDIS_FMACRO_H
|
2010-05-18 15:11:09 +00:00
|
|
|
|
2015-11-18 08:04:54 +00:00
|
|
|
#define _XOPEN_SOURCE 600
|
2018-01-05 15:17:09 +00:00
|
|
|
#define _POSIX_C_SOURCE 200112L
|
2010-05-18 15:11:09 +00:00
|
|
|
|
2016-04-17 20:23:42 +00:00
|
|
|
#if defined(__APPLE__) && defined(__MACH__)
|
2018-04-13 19:40:34 +00:00
|
|
|
/* Enable TCP_KEEPALIVE */
|
|
|
|
#define _DARWIN_C_SOURCE
|
2018-01-05 15:27:10 +00:00
|
|
|
#endif
|
|
|
|
|
2010-05-18 15:11:09 +00:00
|
|
|
#endif
|