Skip to content

Commit

Permalink
Fixed cygwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Apr 23, 2014
1 parent 45dc89c commit dfea14d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/windows/SDL_windows.c
Expand Up @@ -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)
Expand Down

0 comments on commit dfea14d

Please sign in to comment.