]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/libsdl/contrib/src/video/wincommon/SDL_lowvideo.h
update
[l4.git] / l4 / pkg / libsdl / contrib / src / video / wincommon / SDL_lowvideo.h
index 940995c4cda28b93e244deb5223d77dd181d3543..89d1a88e893e6f3f55b8a683745bfb4d08a5e344 100644 (file)
@@ -1,6 +1,6 @@
 /*
     SDL - Simple DirectMedia Layer
-    Copyright (C) 1997-2009 Sam Lantinga
+    Copyright (C) 1997-2012 Sam Lantinga
 
     This library is free software; you can redistribute it and/or
     modify it under the terms of the GNU Lesser General Public
@@ -140,9 +140,13 @@ extern void DX5_SoundFocus(HWND window);
    GDL_CreateWindow as well */
 LRESULT CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
 
+#ifdef _WIN64
+#define SDL_ToUnicode  ToUnicode
+#else
 /* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */
-typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, PBYTE, LPWSTR, int, UINT);
+typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, const BYTE *, LPWSTR, int, UINT);
 
 extern ToUnicodeFN SDL_ToUnicode;
+#endif
 
 #endif /* SDL_lowvideo_h */