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 426553164d
commit 009cabf103
6 changed files with 26 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
/*