From 9756f61fda6397da0c57bbe353fc0d144a51aaea Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 7 Aug 2014 12:14:21 +0200 Subject: [PATCH] Clarify AIX "#undef hz". --- src/redis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/redis.h b/src/redis.h index b049dbee..2cf96028 100644 --- a/src/redis.h +++ b/src/redis.h @@ -626,11 +626,12 @@ typedef struct redisOpArray { struct clusterState; +/* AIX defines hz to __hz, we don't use this define and in order to allow + * Redis build on AIX we need to undef it. */ #ifdef _AIX #undef hz #endif - struct redisServer { /* General */ pid_t pid; /* Main process pid. */