Replaced #ifndef _WIN32 with POSIX_ONLY() macro.
This commit is contained in:
+1
-3
@@ -31,9 +31,7 @@
|
||||
#endif
|
||||
|
||||
#include "redis.h"
|
||||
#ifndef _WIN32
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
POSIX_ONLY(#include <sys/uio.h>)
|
||||
#include <math.h>
|
||||
|
||||
static void setProtocolError(redisClient *c, int pos);
|
||||
|
||||
Reference in New Issue
Block a user