Add support for compiling on AIX

Closes #1900
This commit is contained in:
siahl
2014-07-29 16:39:37 -05:00
committed by antirez
parent cbd1607c6a
commit b5dc2c5b91
6 changed files with 25 additions and 3 deletions

View File

@ -36,6 +36,10 @@
#define _GNU_SOURCE
#endif
#if defined(_AIX)
#define _ALL_SOURCE
#endif
#if defined(__linux__) || defined(__OpenBSD__)
#define _XOPEN_SOURCE 700
/*