mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-24 01:20:43 +00:00
Fixed cygwin build
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user