From 79f5b26cf78e1f8bd5dfeadcba8e83f38728811f Mon Sep 17 00:00:00 2001 From: Ryozuki Date: Sun, 12 Mar 2017 14:45:57 +0100 Subject: [PATCH] Moved _WIN32_WINNT to the top instead --- src/engine/client/client.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 131917b03..ba812bde2 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -2,6 +2,8 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include +#define _WIN32_WINNT 0x0501 + #include #include // qsort #include @@ -55,9 +57,6 @@ #include #if defined(CONF_FAMILY_WINDOWS) - #ifndef _WIN32_WINNT - #define _WIN32_WINNT 0x0501 - #endif #define WIN32_LEAN_AND_MEAN #include #endif