Replaced #ifndef _WIN32 with POSIX_ONLY() macro.

This commit is contained in:
Enrico Giordani
2015-07-12 16:52:35 +02:00
parent ec982a5723
commit 8ed006ab29
+1 -3
View File
@@ -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);