diff options
author | not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com> | 2018-01-06 12:26:55 +0000 |
---|---|---|
committer | not-a-robot[bot] <not-a-robot[bot]@users.noreply.github.com> | 2018-01-06 12:26:55 +0000 |
commit | 3d8709d19d7fa67d203a33c969e69f0f1a4eab02 (patch) | |
tree | 48f4275f920a1e1f341d98532fe672e863422d06 | |
parent | a827f5a8980cdebb0d06c5f7eb0d8736de960063 (diff) | |
parent | 952a33f298f14775fae61675b2ff541abf24f63d (diff) |
Merge #569
569: Ibm aix fix r=badboy
-rw-r--r-- | fmacros.h | 7 | ||||
-rw-r--r-- | net.h | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -16,6 +16,8 @@ #define _XOPEN_SOURCE #elif defined(__FreeBSD__) // intentionally left blank, don't define _XOPEN_SOURCE +#elif defined(AIX) +// intentionally left blank, don't define _XOPEN_SOURCE #else #define _XOPEN_SOURCE #endif @@ -28,4 +30,9 @@ #define _OSX #endif +#ifndef AIX +# define _XOPEN_SOURCE_EXTENDED 1 +# define _ALL_SOURCE +#endif + #endif @@ -37,7 +37,7 @@ #include "hiredis.h" -#if defined(__sun) +#if defined(__sun) || defined(AIX) #define AF_LOCAL AF_UNIX #endif |