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