diff --git a/src/core/windows/SDL_windows.c b/src/core/windows/SDL_windows.c index 7f162185f..348c72c83 100644 --- a/src/core/windows/SDL_windows.c +++ b/src/core/windows/SDL_windows.c @@ -28,6 +28,11 @@ #include /* for CoInitialize/CoUninitialize (Win32 only) */ +#ifndef _WIN32_WINNT_VISTA +#define _WIN32_WINNT_VISTA 0x0600 +#endif + + /* Sets an error message based on GetLastError() */ int WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr)