diff --git a/src/win.h b/src/win.h index 9abd59d..b6b1329 100644 --- a/src/win.h +++ b/src/win.h @@ -5,6 +5,14 @@ #define WIN32_LEAN_AND_MEAN #endif +#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600 +#undef _WIN32_WINNT +#endif + +#ifndef _WIN32_WINNT +#define _WIN32_WINNT 0x0600 +#endif + #pragma warning(push, 1) #include