Explorar o código

Fixed cygwin build

Sam Lantinga %!s(int64=12) %!d(string=hai) anos
pai
achega
dfea14d92d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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)