]> git.saurik.com Git - redis.git/blame - src/fmacros.h
Added the SRANDMEMBER key <count> variant.
[redis.git] / src / fmacros.h
CommitLineData
e9a9afd3 1#ifndef _REDIS_FMACRO_H
2#define _REDIS_FMACRO_H
3
4#define _BSD_SOURCE
af090ffa 5
13732168 6#if defined(__linux__)
7#define _GNU_SOURCE
8#endif
9
0cae060a 10#if defined(__linux__) || defined(__OpenBSD__)
10ce1276 11#define _XOPEN_SOURCE 700
af090ffa 12#else
13#define _XOPEN_SOURCE
14#endif
15
87eaf97f 16#define _LARGEFILE_SOURCE
17#define _FILE_OFFSET_BITS 64
e9a9afd3 18
19#endif