diff --git a/ports/win32/net.h b/ports/win32/net.h index e577854..429c76f 100644 --- a/ports/win32/net.h +++ b/ports/win32/net.h @@ -29,11 +29,11 @@ #define WIN32_LEAN_AND_MEAN #define STRICT 1 /* Windows XP minimum */ -#if (_WIN32_WINNT < 0x501) +#if (_WIN32_WINNT < _WIN32_WINNT_WINXP) #undef _WIN32_WINNT - #define _WIN32_WINNT 0x501 + #define _WIN32_WINNT _WIN32_WINNT_WINXP #undef NTDDI_VERSION - #define NTDDI_VERSION _NTDDI_VERSION_FROM_WIN32_WINNT(_WIN32_WINNT) + #define NTDDI_VERSION NTDDI_WINXP #endif