Sfoglia il codice sorgente

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

Ozkan Sezer 5 anni fa
parent
commit
1f4b5d54ca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/locale/windows/SDL_syslocale.c

+ 1 - 1
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