Commit 1f4b5d54caf585b4a8d6de954ccde8665e085194

Ozkan Sezer 2020-10-06T00:20:20

windows/SDL_syslocale.c: make it build against older SDKs.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/locale/windows/SDL_syslocale.c b/src/locale/windows/SDL_syslocale.c
index 9f89ff8..d4004ca 100644
--- a/src/locale/windows/SDL_syslocale.c
+++ b/src/locale/windows/SDL_syslocale.c
@@ -24,7 +24,7 @@
 #include "../SDL_syslocale.h"
 #include "SDL_assert.h"
 
-typedef BOOL (WINAPI *pfnGetUserPreferredUILanguages)(DWORD,PULONG,PZZWSTR,PULONG);
+typedef BOOL (WINAPI *pfnGetUserPreferredUILanguages)(DWORD,PULONG,/*PZZWSTR*/WCHAR*,PULONG);
 #ifndef MUI_LANGUAGE_NAME
 #define MUI_LANGUAGE_NAME 0x8 
 #endif