Fixed cygwin build
authorSam Lantinga <slouken@libsdl.org>
Wed, 23 Apr 2014 13:54:47 -0700
changeset 87370db0c21fd3ec
parent 8736 bd7629d87774
child 8738 354dabd2cb58
Fixed cygwin build
src/core/windows/SDL_windows.c
     1.1 --- a/src/core/windows/SDL_windows.c	Wed Apr 23 13:48:01 2014 -0700
     1.2 +++ b/src/core/windows/SDL_windows.c	Wed Apr 23 13:54:47 2014 -0700
     1.3 @@ -28,6 +28,11 @@
     1.4  
     1.5  #include <objbase.h>  /* for CoInitialize/CoUninitialize (Win32 only) */
     1.6  
     1.7 +#ifndef _WIN32_WINNT_VISTA
     1.8 +#define _WIN32_WINNT_VISTA  0x0600
     1.9 +#endif
    1.10 +
    1.11 +
    1.12  /* Sets an error message based on GetLastError() */
    1.13  int
    1.14  WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr)