diff src/video/windows/SDL_windowsvideo.c @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents e8916fe9cfc8
children 455bc74f7034
line wrap: on
line diff
--- a/src/video/windows/SDL_windowsvideo.c	Mon Jan 24 15:10:16 2011 -0800
+++ b/src/video/windows/SDL_windowsvideo.c	Mon Jan 24 15:46:11 2011 -0800
@@ -161,9 +161,9 @@
 
 	data->userDLL = LoadLibrary(TEXT("USER32.DLL"));
 	if (data->userDLL) {
-		data->CloseTouchInputHandle = (BOOL (WINAPI *)( HTOUCHINPUT )) GetProcAddress(data->userDLL, "CloseTouchInputHandle");
-		data->GetTouchInputInfo = (BOOL (WINAPI *)( HTOUCHINPUT, UINT, PTOUCHINPUT, int )) GetProcAddress(data->userDLL, "GetTouchInputInfo");
-		data->RegisterTouchWindow = (BOOL (WINAPI *)( HWND, ULONG )) GetProcAddress(data->userDLL, "RegisterTouchWindow");
+		data->CloseTouchInputHandle = (BOOL (WINAPI *)( HTOUCHINPUT )) GetProcAddress(data->userDLL, TEXT("CloseTouchInputHandle"));
+		data->GetTouchInputInfo = (BOOL (WINAPI *)( HTOUCHINPUT, UINT, PTOUCHINPUT, int )) GetProcAddress(data->userDLL, TEXT("GetTouchInputInfo"));
+		data->RegisterTouchWindow = (BOOL (WINAPI *)( HWND, ULONG )) GetProcAddress(data->userDLL, TEXT("RegisterTouchWindow"));
 	}
 
     /* Set the function pointers */
@@ -222,11 +222,7 @@
 }
 
 VideoBootStrap WINDOWS_bootstrap = {
-#ifdef _WIN32_WCE
-    "wince", "SDL WinCE video driver", WINCE_Available, WIN_CreateDevice
-#else
-    "windows", "SDL Win32/64 video driver", WIN_Available, WIN_CreateDevice
-#endif
+    "windows", "SDL Windows video driver", WIN_Available, WIN_CreateDevice
 };
 
 int