Skip to content

Commit 9e3e606

Browse files
committed
fix #421: #define _WIN32_WINNT 0x0600
1 parent f1d5a27 commit 9e3e606

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

base/hplatform.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143

144144
// headers
145145
#ifdef OS_WIN
146+
#ifndef _WIN32_WINNT
147+
#define _WIN32_WINNT 0x0600
148+
#elif _WIN32_WINNT < 0x0600
149+
#undef _WIN32_WINNT
150+
#define _WIN32_WINNT 0x0600
151+
#endif
146152
#ifndef WIN32_LEAN_AND_MEAN
147153
#define WIN32_LEAN_AND_MEAN
148154
#endif

0 commit comments

Comments
 (0)