diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-05-25 19:50:56 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-05-25 20:03:15 -0400 |
commit | 9f560bfa114b8216af2dac28966eae53c0c97ed3 (patch) | |
tree | b1af5a819ff6afe10e45b8e6b5fed83f84d2fcc0 /evmap.c | |
parent | 0e95950e605d24cff370d07db1a4fc40d15c31e3 (diff) | |
download | libevent-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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> |