summaryrefslogtreecommitdiff
path: root/evmap.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 /evmap.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 'evmap.c')
-rw-r--r--evmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/evmap.c b/evmap.c
index 3b7bc1c5..8af448ea 100644
--- a/evmap.c
+++ b/evmap.c
@@ -26,20 +26,20 @@
#include "event2/event-config.h"
#include "evconfig-private.h"
-#ifdef WIN32
+#ifdef _WIN32
#include <winsock2.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#undef WIN32_LEAN_AND_MEAN
#endif
#include <sys/types.h>
-#if !defined(WIN32) && defined(_EVENT_HAVE_SYS_TIME_H)
+#if !defined(_WIN32) && defined(_EVENT_HAVE_SYS_TIME_H)
#include <sys/time.h>
#endif
#include <sys/queue.h>
#include <stdio.h>
#include <stdlib.h>
-#ifndef WIN32
+#ifndef _WIN32
#include <unistd.h>
#endif
#include <errno.h>