]> git.saurik.com Git - redis.git/blob - src/fmacros.h
mark fd as writable when EPOLLERR or EPOLLHUP is returned by epoll_wait.
[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