Browse Source

Fixed cygwin build

Sam Lantinga 11 years ago
parent
commit
dfea14d92d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/core/windows/SDL_windows.c

+ 5 - 0
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)