fmacros.h 225 Bytes
Newer Older
1 2
#ifndef __HIREDIS_FMACRO_H
#define __HIREDIS_FMACRO_H
3

4
#define _XOPEN_SOURCE 600
Tom Lee's avatar
Tom Lee committed
5
#define _POSIX_C_SOURCE 200112L
6

Tom Lee's avatar
Tom Lee committed
7 8 9
#if defined(__APPLE__) && defined(__MACH__)
/* Enable TCP_KEEPALIVE */
#define _DARWIN_C_SOURCE
10 11
#endif

12
#endif