summaryrefslogtreecommitdiff
path: root/test/regress_zlib.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-05-25 19:50:56 -0400
committerNick Mathewson <nickm@torproject.org>2011-05-25 20:03:15 -0400
commit9f560bfa114b8216af2dac28966eae53c0c97ed3 (patch)
treeb1af5a819ff6afe10e45b8e6b5fed83f84d2fcc0 /test/regress_zlib.c
parent0e95950e605d24cff370d07db1a4fc40d15c31e3 (diff)
downloadlibevent-9f560bfa114b8216af2dac28966eae53c0c97ed3.tar.gz
Use "_WIN32", not WIN32: it's standard and we don't need to fake it
This patch was automatically generated with perl. Based on a patch by Peter Rosin.
Diffstat (limited to 'test/regress_zlib.c')
-rw-r--r--test/regress_zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regress_zlib.c b/test/regress_zlib.c
index 6dd7bf8f..e74c1fff 100644
--- a/test/regress_zlib.c
+++ b/test/regress_zlib.c
@@ -27,7 +27,7 @@
/* The old tests here need assertions to work. */
#undef NDEBUG
-#ifdef WIN32
+#ifdef _WIN32
#include <winsock2.h>
#include <windows.h>
#endif
@@ -35,7 +35,7 @@
#include "event2/event-config.h"
#include <sys/types.h>
-#ifndef WIN32
+#ifndef _WIN32
#include <sys/socket.h>
#include <sys/wait.h>
#include <unistd.h>