Mercurial > sdl-ios-xcode
diff include/SDL_config_windows.h @ 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/include/SDL_config_windows.h Mon Jan 24 15:10:16 2011 -0800 +++ b/include/SDL_config_windows.h Mon Jan 24 15:46:11 2011 -0800 @@ -20,8 +20,8 @@ slouken@libsdl.org */ -#ifndef _SDL_config_windows2_h -#define _SDL_config_windows2_h +#ifndef _SDL_config_windows_h +#define _SDL_config_windows_h #include "SDL_platform.h" @@ -178,7 +178,11 @@ #define SDL_VIDEO_DRIVER_DUMMY 1 #define SDL_VIDEO_DRIVER_WINDOWS 1 +#ifdef _WIN32_WCE +#define SDL_VIDEO_RENDER_GAPI 1 +#else #define SDL_VIDEO_RENDER_D3D 1 +#endif #define SDL_VIDEO_RENDER_GDI 1 /* Enable OpenGL support */ @@ -196,4 +200,4 @@ #define SDL_ASSEMBLY_ROUTINES 1 #endif -#endif /* _SDL_config_windows2_h */ +#endif /* _SDL_config_windows_h */