--- linuxsampler/trunk/src/linuxsampler.cpp 2009/05/03 10:47:09 1894 +++ linuxsampler/trunk/src/linuxsampler.cpp 2009/05/03 12:15:40 1895 @@ -26,8 +26,13 @@ #if defined(WIN32) // require at least Windows 2000 for the GlobalMemoryStatusEx() call +#if _WIN32_WINNT < 0x0500 +#ifdef _WIN32_WINNT +#undef _WIN32_WINNT +#endif #define _WIN32_WINNT 0x0500 #endif +#endif #include "Sampler.h" #include "common/global_private.h"