From 5cf9167f919dfef964b1d149731ed04941e25ebf Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 31 Jan 2012 10:59:42 -0500 Subject: Use the standard _WIN32, not the Torism MS_WINDOWS or deprecated WIN32 This commit is completely mechanical; I used this perl script to make it: #!/usr/bin/perl -w -i.bak -p if (/^\s*\#/) { s/MS_WINDOWS/_WIN32/g; s/\bWIN32\b/_WIN32/g; } --- src/or/eventdns_tor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/or/eventdns_tor.h') diff --git a/src/or/eventdns_tor.h b/src/or/eventdns_tor.h index 6a178938b6..b3bdde0176 100644 --- a/src/or/eventdns_tor.h +++ b/src/or/eventdns_tor.h @@ -9,14 +9,14 @@ typedef unsigned int uint; #ifndef HAVE_U_CHAR typedef unsigned char u_char; #endif -#ifdef MS_WINDOWS +#ifdef _WIN32 #define inline __inline #endif #include "torint.h" -#if defined(MS_WINDOWS) && !defined(WIN32) +#if defined(_WIN32) && !defined(_WIN32) /* How did _this_ happen? */ -#define WIN32 +#define _WIN32 #endif /* These are for debugging possible memory leaks. */ -- cgit v1.2.3-54-g00ecf