aboutsummaryrefslogtreecommitdiff
path: root/src/compat.h
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/compat.h
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/compat.h')
-rw-r--r--src/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compat.h b/src/compat.h
index 7b164d5630..68f6eb692c 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -11,10 +11,6 @@
#endif
#ifdef WIN32
-#ifdef _WIN32_WINNT
-#undef _WIN32_WINNT
-#endif
-#define _WIN32_WINNT 0x0501
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif