src/video/wincommon/SDL_lowvideo.h
branchSDL-1.2
changeset 5983 1361a12b2e58
parent 5891 9086ec040519
child 6137 4720145f848b
     1.1 --- a/src/video/wincommon/SDL_lowvideo.h	Tue Oct 11 22:04:51 2011 -0400
     1.2 +++ b/src/video/wincommon/SDL_lowvideo.h	Thu Oct 13 01:49:14 2011 -0400
     1.3 @@ -140,9 +140,13 @@
     1.4     GDL_CreateWindow as well */
     1.5  LRESULT CALLBACK WinMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
     1.6  
     1.7 +#ifdef _WIN64
     1.8 +#define SDL_ToUnicode  ToUnicode
     1.9 +#else
    1.10  /* JFP: Implementation of ToUnicode() that works on 9x/ME/2K/XP */
    1.11  typedef int (WINAPI *ToUnicodeFN)(UINT, UINT, const BYTE *, LPWSTR, int, UINT);
    1.12  
    1.13  extern ToUnicodeFN SDL_ToUnicode;
    1.14 +#endif
    1.15  
    1.16  #endif /* SDL_lowvideo_h */