Commit dfea14d92dec9d836e6ca1da8841458a47837f31

Sam Lantinga 2014-04-23T13:54:47

Fixed cygwin build

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/core/windows/SDL_windows.c b/src/core/windows/SDL_windows.c
index 7f16218..348c72c 100644
--- a/src/core/windows/SDL_windows.c
+++ b/src/core/windows/SDL_windows.c
@@ -28,6 +28,11 @@
 
 #include <objbase.h>  /* 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)