From dfea14d92dec9d836e6ca1da8841458a47837f31 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 23 Apr 2014 13:54:47 -0700 Subject: [PATCH] Fixed cygwin build --- src/core/windows/SDL_windows.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/windows/SDL_windows.c b/src/core/windows/SDL_windows.c index 7f162185fda94..348c72c8328ce 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)