Explorar o código

Fixed build on older Windows SDK

Sam Lantinga %!s(int64=2) %!d(string=hai) anos
pai
achega
d383299779
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/core/windows/SDL_windows.c

+ 4 - 0
src/core/windows/SDL_windows.c

@@ -49,6 +49,10 @@ typedef enum RO_INIT_TYPE
 #define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800
 #define LOAD_LIBRARY_SEARCH_SYSTEM32 0x00000800
 #endif
 #endif
 
 
+#ifndef WC_ERR_INVALID_CHARS
+#define WC_ERR_INVALID_CHARS 0x00000080
+#endif
+
 /* Sets an error message based on an HRESULT */
 /* Sets an error message based on an HRESULT */
 int WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr)
 int WIN_SetErrorFromHRESULT(const char *prefix, HRESULT hr)
 {
 {