aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-12-13 18:24:30 +0800
committerChun Kuan Lee <ken2812221@gmail.com>2019-01-23 16:28:27 +0800
commit1bd9ffdd44000b208d29d35451f4dc9f1ac9318f (patch)
treea2f891b8606a0833f14914eb7235e923038480ff /src/util
parent82cf6813a4ef1b4a5439eb6cddb1ab426f3c31a2 (diff)
windows: Set _WIN32_WINNT to 0x0601 (Windows 7)
Also remove all defines in many places and define it in configure stage to keep consistency.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/system.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/system.cpp b/src/util/system.cpp
index 06317a3a90..789dcfaba9 100644
--- a/src/util/system.cpp
+++ b/src/util/system.cpp
@@ -44,11 +44,6 @@
#pragma warning(disable:4717)
#endif
-#ifdef _WIN32_WINNT
-#undef _WIN32_WINNT
-#endif
-#define _WIN32_WINNT 0x0501
-
#ifdef _WIN32_IE
#undef _WIN32_IE
#endif