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