]> git.saurik.com Git - redis.git/blame - src/fmacros.h
syncio.c read / write functions reworked for correctness and performance.
[redis.git] / src / fmacros.h
CommitLineData
e9a9afd3 1#ifndef _REDIS_FMACRO_H
2#define _REDIS_FMACRO_H
3
4#define _BSD_SOURCE
af090ffa 5
0cae060a 6#if defined(__linux__) || defined(__OpenBSD__)
10ce1276 7#define _XOPEN_SOURCE 700
af090ffa 8#else
9#define _XOPEN_SOURCE
10#endif
11
87eaf97f 12#define _LARGEFILE_SOURCE
13#define _FILE_OFFSET_BITS 64
e9a9afd3 14
15#endif