Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount()..

This commit is contained in:
Sam Lantinga 2011-02-17 09:26:15 -08:00
parent 58d7fc4732
commit baf813b8c1
3 changed files with 6 additions and 25 deletions

4
src/core/windows/SDL_windows.h Normal file → Executable file
View file

@ -30,8 +30,8 @@
#ifndef UNICODE
#define UNICODE 1
#endif
#undef WINVER
#define WINVER 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
#undef _WIN32_WINNT
#define _WIN32_WINNT 0x500 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() */
#include <windows.h>