]> git.saurik.com Git - redis.git/blob - src/fmacros.h
help.h update (adds bitop, bitcount, evalsha...)
[redis.git] / src / fmacros.h
1 #ifndef _REDIS_FMACRO_H
2 #define _REDIS_FMACRO_H
3
4 #define _BSD_SOURCE
5
6 #if defined(__linux__)
7 #define _GNU_SOURCE
8 #endif
9
10 #if defined(__linux__) || defined(__OpenBSD__)
11 #define _XOPEN_SOURCE 700
12 #else
13 #define _XOPEN_SOURCE
14 #endif
15
16 #define _LARGEFILE_SOURCE
17 #define _FILE_OFFSET_BITS 64
18
19 #endif