diff include/SDL_config_win32.h @ 1497:420b3f47806d

Fixes from Dmitry Yakimov: fixed bugs 159 and 160: + added threaded timers support ! fixed restoring sdl window focus (AV in windows message handler) ! disabled forgotten cdrom and joystick in config file. * disabled minimizing sdl window while loosing focus. PocketPC does not have a task bar, so it is an inconvenient and unusual behaviour for PPC users. + added WIN_Paint handler for GAPI ! fixed loosing focus while using GAPI videi driver + added TestTimer project * removed unnecessary macros (ENABLE_WINDIB ...) from projects
author Sam Lantinga <slouken@libsdl.org>
date Sat, 11 Mar 2006 23:46:45 +0000
parents 0a2bd6507477
children 720f8bb49d7d
line wrap: on
line diff
--- a/include/SDL_config_win32.h	Sat Mar 11 23:44:21 2006 +0000
+++ b/include/SDL_config_win32.h	Sat Mar 11 23:46:45 2006 +0000
@@ -117,10 +117,18 @@
 #define SDL_AUDIO_DRIVER_WAVEOUT	1
 
 /* Enable various cdrom drivers */
-#define SDL_CDROM_WIN32	1
+#ifdef _WIN32_WCE
+#define SDL_CDROM_DISABLED      1
+#else
+#define SDL_CDROM_WIN32		1
+#endif
 
 /* Enable various input drivers */
+#ifdef _WIN32_WCE
+#define SDL_JOYSTICK_DISABLED   1
+#else
 #define SDL_JOYSTICK_WINMM	1
+#endif
 
 /* Enable various shared object loading systems */
 #define SDL_LOADSO_WIN32	1
@@ -136,12 +144,12 @@
 #endif
 
 /* Enable various video drivers */
+#ifdef _WIN32_WCE
+#define SDL_VIDEO_DRIVER_GAPI	1
+#endif
 #ifndef _WIN32_WCE
 #define SDL_VIDEO_DRIVER_DDRAW	1
 #endif
-#ifdef _WIN32_WCE
-#define SDL_VIDEO_DRIVER_GAPI	1
-#endif
 #define SDL_VIDEO_DRIVER_WINDIB	1
 
 /* Enable OpenGL support */