From 7d672d3ab8c74371b58b293f807db74760b18155 Mon Sep 17 00:00:00 2001 From: malosek Date: Tue, 3 Nov 2009 14:06:25 +0100 Subject: minor fixes for MSVC++ 2005 build --- src/windows.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/windows.hpp') diff --git a/src/windows.hpp b/src/windows.hpp index 71ecd4f..d765c83 100644 --- a/src/windows.hpp +++ b/src/windows.hpp @@ -47,6 +47,11 @@ #include +// MSVC++ 2005 on Win2000 does not define _WIN32_WINNT. +#ifndef _WIN32_WINNT +#define _WIN32_WINNT WINVER +#endif + // Enable winsock (not included when WIN32_LEAN_AND_MEAN is defined). #if(_WIN32_WINNT >= 0x0400) #include -- cgit v1.2.3