From 1ec31125b0e8b95c38749c1e8d75fbafe441e44c Mon Sep 17 00:00:00 2001 From: EinMByte Date: Sun, 13 Sep 2015 16:54:55 +0200 Subject: [PATCH] Change WIN32 to _WIN32 in util.cpp. --- core/util/util.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/util/util.cpp b/core/util/util.cpp index 870a771d..650d32e6 100644 --- a/core/util/util.cpp +++ b/core/util/util.cpp @@ -18,7 +18,7 @@ #if defined(__linux__) || defined(__FreeBSD_kernel__) || defined(__APPLE__) || defined(__OpenBSD__) #include #include -#elif defined(WIN32) +#elif defined(_WIN32) #include #include #include @@ -79,7 +79,7 @@ namespace config { strKey = strKey.substr(0, has_data); } -#ifdef WIN32 +#ifdef _WIN32 boost::to_lower(strKey); if(boost::algorithm::starts_with(strKey, "/")) strKey = "-" + strKey.substr(1); @@ -522,7 +522,7 @@ namespace net { return mtu; } -#elif defined(WIN32) +#elif defined(_WIN32) int GetMTUWindowsIpv4(sockaddr_in inputAddress, int fallback) { ULONG outBufLen = 0;