aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/win32/win32_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/win32/win32_wrapper.h')
-rw-r--r--backends/platform/sdl/win32/win32_wrapper.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/backends/platform/sdl/win32/win32_wrapper.h b/backends/platform/sdl/win32/win32_wrapper.h
index f2e16faeb2..9fa1a16210 100644
--- a/backends/platform/sdl/win32/win32_wrapper.h
+++ b/backends/platform/sdl/win32/win32_wrapper.h
@@ -23,6 +23,8 @@
#ifndef PLATFORM_SDL_WIN32_WRAPPER_H
#define PLATFORM_SDL_WIN32_WRAPPER_H
+#include "common/scummsys.h"
+
HRESULT SHGetFolderPathFunc(HWND hwnd, int csidl, HANDLE hToken, DWORD dwFlags, LPSTR pszPath);
// Helper functions
@@ -45,7 +47,7 @@ bool confirmWindowsVersion(int majorVersion, int minorVersion);
*
* @note Return value must be freed by the caller.
*/
-wchar_t *ansiToUnicode(const char *s, unsigned int codePage = CP_ACP);
+wchar_t *ansiToUnicode(const char *s, uint codePage = CP_ACP);
/**
* Converts a Windows wide-character string into a C string.
* Used to interact with Win32 Unicode APIs with no ANSI fallback.
@@ -55,9 +57,9 @@ wchar_t *ansiToUnicode(const char *s, unsigned int codePage = CP_ACP);
*
* @note Return value must be freed by the caller.
*/
-char *unicodeToAnsi(const wchar_t *s, unsigned int codePage = CP_ACP);
+char *unicodeToAnsi(const wchar_t *s, uint codePage = CP_ACP);
-unsigned int getCurrentCharset();
+uint getCurrentCharset();
}