Fixed build on older Windows SDK

This commit is contained in:
Sam Lantinga 2024-02-01 20:48:53 -08:00
parent d04fea8b87
commit d383299779
1 changed files with 4 additions and 0 deletions

View File

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