Our minimum Windows version is Windows 2000, so it's okay to directly call InitializeCriticalSectionAndSpinCount()..
This commit is contained in:
parent
58d7fc4732
commit
baf813b8c1
3 changed files with 6 additions and 25 deletions
4
src/core/windows/SDL_windows.h
Normal file → Executable file
4
src/core/windows/SDL_windows.h
Normal file → Executable 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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue