]>
Commit | Line | Data |
---|---|---|
9703b1b3 PN |
1 | #ifndef __HIREDIS_FMACRO_H |
2 | #define __HIREDIS_FMACRO_H | |
24f753a8 | 3 | |
b66e5add | 4 | #if !defined(_BSD_SOURCE) |
24f753a8 | 5 | #define _BSD_SOURCE |
9703b1b3 | 6 | #endif |
24f753a8 | 7 | |
b66e5add | 8 | #if defined(__sun__) |
9 | #define _POSIX_C_SOURCE 200112L | |
10 | #elif defined(__linux__) | |
11 | #define _XOPEN_SOURCE 600 | |
24f753a8 PN |
12 | #else |
13 | #define _XOPEN_SOURCE | |
14 | #endif | |
15 | ||
24f753a8 | 16 | #endif |