]> git.saurik.com Git - redis.git/blob - src/fmacros.h
syncio.c calls in replication.c fixed for the new millisecond timeout API.
[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__) || 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