Clarify AIX "#undef hz".

This commit is contained in:
antirez 2014-08-07 12:14:21 +02:00
parent bb1347da8f
commit d01968b9ad

View File

@ -626,11 +626,12 @@ typedef struct redisOpArray {
struct clusterState; 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 #ifdef _AIX
#undef hz #undef hz
#endif #endif
struct redisServer { struct redisServer {
/* General */ /* General */
pid_t pid; /* Main process pid. */ pid_t pid; /* Main process pid. */