Skip to content
Permalink
Browse files

Fixed cygwin build

  • Loading branch information
slouken committed Apr 23, 2014
1 parent 45dc89c commit dfea14d92dec9d836e6ca1da8841458a47837f31
Showing with 5 additions and 0 deletions.
  1. +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)

0 comments on commit dfea14d

Please sign in to comment.