mirror of https://github.com/encounter/SDL.git
Fixed cygwin build
This commit is contained in:
parent
45dc89c2c2
commit
dfea14d92d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue