-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#9298) hiredis/1.0.2 Fix AIX with patch from hiredis master.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/fmacros.h b/fmacros.h | ||
index 3227faa..754a53c 100644 | ||
--- a/fmacros.h | ||
+++ b/fmacros.h | ||
@@ -1,8 +1,10 @@ | ||
#ifndef __HIREDIS_FMACRO_H | ||
#define __HIREDIS_FMACRO_H | ||
|
||
+#ifndef _AIX | ||
#define _XOPEN_SOURCE 600 | ||
#define _POSIX_C_SOURCE 200112L | ||
+#endif | ||
|
||
#if defined(__APPLE__) && defined(__MACH__) | ||
/* Enable TCP_KEEPALIVE */ |