By default all the real targets have dummy audio/video and disk audio.
authorSam Lantinga <slouken@libsdl.org>
Tue, 14 Mar 2006 16:19:32 +0000
changeset 153338c1eb6b0083
parent 1532 30f189cdd82b
child 1534 f02e673ffc5f
By default all the real targets have dummy audio/video and disk audio.
Makefile.dc
Makefile.minimal
include/SDL_config.h
include/SDL_config_amiga.h
include/SDL_config_dreamcast.h
include/SDL_config_macos.h
include/SDL_config_os2.h
include/SDL_config_win32.h
src/audio/dummy/SDL_dummyaudio.c
     1.1 --- a/Makefile.dc	Tue Mar 14 08:53:33 2006 +0000
     1.2 +++ b/Makefile.dc	Tue Mar 14 16:19:32 2006 +0000
     1.3 @@ -15,6 +15,7 @@
     1.4  SRCS = \
     1.5  	src/audio/dc/SDL_dcaudio.c \
     1.6  	src/audio/dc/aica.c \
     1.7 +	src/audio/dummy/SDL_dummyaudio.c \
     1.8  	src/audio/SDL_audio.c \
     1.9  	src/audio/SDL_audiocvt.c \
    1.10  	src/audio/SDL_audiodev.c \
    1.11 @@ -51,6 +52,9 @@
    1.12  	src/timer/SDL_timer.c \
    1.13  	src/video/dc/SDL_dcevents.c \
    1.14  	src/video/dc/SDL_dcvideo.c \
    1.15 +	src/video/dummy/SDL_nullevents.c \
    1.16 +	src/video/dummy/SDL_nullmouse.c \
    1.17 +	src/video/dummy/SDL_nullvideo.c \
    1.18  	src/video/SDL_blit.c \
    1.19  	src/video/SDL_blit_0.c \
    1.20  	src/video/SDL_blit_1.c \
     2.1 --- a/Makefile.minimal	Tue Mar 14 08:53:33 2006 +0000
     2.2 +++ b/Makefile.minimal	Tue Mar 14 16:19:32 2006 +0000
     2.3 @@ -18,7 +18,7 @@
     2.4  	src/thread/*.c \
     2.5  	src/timer/*.c \
     2.6  	src/video/*.c \
     2.7 -	src/audio/disk/*.c \
     2.8 +	src/audio/dummy/*.c \
     2.9  	src/video/dummy/*.c \
    2.10  	src/joystick/dummy/*.c \
    2.11  	src/cdrom/dummy/*.c \
     3.1 --- a/include/SDL_config.h	Tue Mar 14 08:53:33 2006 +0000
     3.2 +++ b/include/SDL_config.h	Tue Mar 14 16:19:32 2006 +0000
     3.3 @@ -1,4 +1,3 @@
     3.4 -/* include/SDL_config.h.  Generated by configure.  */
     3.5  /*
     3.6      SDL - Simple DirectMedia Layer
     3.7      Copyright (C) 1997-2006 Sam Lantinga
     3.8 @@ -24,276 +23,56 @@
     3.9  #ifndef _SDL_config_h
    3.10  #define _SDL_config_h
    3.11  
    3.12 -/* This is a set of defines to configure the SDL features */
    3.13 -
    3.14 -/* General platform specific identifiers */
    3.15  #include "SDL_platform.h"
    3.16  
    3.17 -/* C language features */
    3.18 -/* #undef const */
    3.19 -/* #undef inline */
    3.20 -/* #undef volatile */
    3.21 +/* Add any platform that doesn't build using the configure system */
    3.22 +#if defined(__AMIGA__)
    3.23 +#include "SDL_config_amiga.h"
    3.24 +#elif defined(__DREAMCAST__)
    3.25 +#include "SDL_config_dreamcast.h"
    3.26 +#elif defined(__MACOS__)
    3.27 +#include "SDL_config_macos.h"
    3.28 +#elif defined(__MACOSX__)
    3.29 +#include "SDL_config_macosx.h"
    3.30 +#elif defined(__WIN32__)
    3.31 +#include "SDL_config_win32.h"
    3.32 +#elif defined(__OS2__)
    3.33 +#include "SDL_config_os2.h"
    3.34 +#else
    3.35 +/* This is the minimal configuration that can be used to build SDL */
    3.36  
    3.37 -/* C datatypes */
    3.38 -/* #undef size_t */
    3.39 -/* #undef int8_t */
    3.40 -/* #undef uint8_t */
    3.41 -/* #undef int16_t */
    3.42 -/* #undef uint16_t */
    3.43 -/* #undef int32_t */
    3.44 -/* #undef uint32_t */
    3.45 -/* #undef int64_t */
    3.46 -/* #undef uint64_t */
    3.47 -/* #undef uintptr_t */
    3.48 -#define SDL_HAS_64BIT_TYPE 1
    3.49 +#include <stdarg.h>
    3.50  
    3.51 -/* Endianness */
    3.52 -#define SDL_BYTEORDER 1234
    3.53 +typedef signed char int8_t;
    3.54 +typedef unsigned char uint8_t;
    3.55 +typedef signed short int16_t;
    3.56 +typedef unsigned short uint16_t;
    3.57 +typedef signed int int32_t;
    3.58 +typedef unsigned int uint32_t;
    3.59 +typedef unsigned int size_t;
    3.60 +typedef unsigned long uintptr_t;
    3.61  
    3.62 -/* Comment this if you want to build without any C library requirements */
    3.63 -#define HAVE_LIBC 1
    3.64 -#if HAVE_LIBC
    3.65 +/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
    3.66 +#define SDL_AUDIO_DRIVER_DUMMY	1
    3.67  
    3.68 -/* Useful headers */
    3.69 -#define HAVE_ALLOCA_H 1
    3.70 -#define HAVE_SYS_TYPES_H 1
    3.71 -#define HAVE_STDIO_H 1
    3.72 -#define STDC_HEADERS 1
    3.73 -#define HAVE_STDLIB_H 1
    3.74 -#define HAVE_STDARG_H 1
    3.75 -#define HAVE_MALLOC_H 1
    3.76 -#define HAVE_MEMORY_H 1
    3.77 -#define HAVE_STRING_H 1
    3.78 -#define HAVE_STRINGS_H 1
    3.79 -#define HAVE_INTTYPES_H 1
    3.80 -#define HAVE_STDINT_H 1
    3.81 -#define HAVE_CTYPE_H 1
    3.82 -#define HAVE_MATH_H 1
    3.83 -#define HAVE_ICONV_H 1
    3.84 -#define HAVE_SIGNAL_H 1
    3.85 -/* #undef HAVE_ALTIVEC_H */
    3.86 +/* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */
    3.87 +#define SDL_CDROM_DISABLED	1
    3.88  
    3.89 -/* C library functions */
    3.90 -#define HAVE_MALLOC 1
    3.91 -#define HAVE_CALLOC 1
    3.92 -#define HAVE_REALLOC 1
    3.93 -#define HAVE_FREE 1
    3.94 -#define HAVE_ALLOCA 1
    3.95 -#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
    3.96 -#define HAVE_GETENV 1
    3.97 -#define HAVE_PUTENV 1
    3.98 -#define HAVE_UNSETENV 1
    3.99 -#endif
   3.100 -#define HAVE_QSORT 1
   3.101 -#define HAVE_ABS 1
   3.102 -#define HAVE_BCOPY 1
   3.103 -#define HAVE_MEMSET 1
   3.104 -#define HAVE_MEMCPY 1
   3.105 -#define HAVE_MEMMOVE 1
   3.106 -#define HAVE_MEMCMP 1
   3.107 -#define HAVE_STRLEN 1
   3.108 -/* #undef HAVE_STRLCPY */
   3.109 -/* #undef HAVE_STRLCAT */
   3.110 -#define HAVE_STRDUP 1
   3.111 -/* #undef HAVE__STRREV */
   3.112 -/* #undef HAVE__STRUPR */
   3.113 -/* #undef HAVE__STRLWR */
   3.114 -/* #undef HAVE_INDEX */
   3.115 -/* #undef HAVE_RINDEX */
   3.116 -#define HAVE_STRCHR 1
   3.117 -#define HAVE_STRRCHR 1
   3.118 -#define HAVE_STRSTR 1
   3.119 -/* #undef HAVE_ITOA */
   3.120 -/* #undef HAVE__LTOA */
   3.121 -/* #undef HAVE__UITOA */
   3.122 -/* #undef HAVE__ULTOA */
   3.123 -#define HAVE_STRTOL 1
   3.124 -#define HAVE_STRTOUL 1
   3.125 -/* #undef HAVE__I64TOA */
   3.126 -/* #undef HAVE__UI64TOA */
   3.127 -#define HAVE_STRTOLL 1
   3.128 -#define HAVE_STRTOULL 1
   3.129 -#define HAVE_STRTOD 1
   3.130 -#define HAVE_ATOI 1
   3.131 -#define HAVE_ATOF 1
   3.132 -#define HAVE_STRCMP 1
   3.133 -#define HAVE_STRNCMP 1
   3.134 -/* #undef HAVE__STRICMP */
   3.135 -#define HAVE_STRCASECMP 1
   3.136 -/* #undef HAVE__STRNICMP */
   3.137 -#define HAVE_STRNCASECMP 1
   3.138 -#define HAVE_SSCANF 1
   3.139 -#define HAVE_SNPRINTF 1
   3.140 -#define HAVE_VSNPRINTF 1
   3.141 -#define HAVE_ICONV 1
   3.142 -#define HAVE_SIGACTION 1
   3.143 -#define HAVE_SETJMP 1
   3.144 -#define HAVE_NANOSLEEP 1
   3.145 -/* #undef HAVE_CLOCK_GETTIME */
   3.146 -#define HAVE_DLVSYM 1
   3.147 +/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
   3.148 +#define SDL_JOYSTICK_DISABLED	1
   3.149  
   3.150 -#else
   3.151 -/* We may need some replacement for stdarg.h here */
   3.152 -#include <stdarg.h>
   3.153 -#endif /* HAVE_LIBC */
   3.154 +/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
   3.155 +#define SDL_LOADSO_DISABLED	1
   3.156  
   3.157 -/* Allow disabling of core subsystems */
   3.158 -/* #undef SDL_AUDIO_DISABLED */
   3.159 -/* #undef SDL_CDROM_DISABLED */
   3.160 -/* #undef SDL_CPUINFO_DISABLED */
   3.161 -/* #undef SDL_EVENTS_DISABLED */
   3.162 -/* #undef SDL_FILE_DISABLED */
   3.163 -/* #undef SDL_JOYSTICK_DISABLED */
   3.164 -/* #undef SDL_LOADSO_DISABLED */
   3.165 -/* #undef SDL_THREADS_DISABLED */
   3.166 -/* #undef SDL_TIMERS_DISABLED */
   3.167 -/* #undef SDL_VIDEO_DISABLED */
   3.168 +/* Enable the stub thread support (src/thread/generic/\*.c) */
   3.169 +#define SDL_THREADS_DISABLED	1
   3.170  
   3.171 -/* Enable various audio drivers */
   3.172 -/* #undef SDL_AUDIO_DRIVER_AHI */
   3.173 -#define SDL_AUDIO_DRIVER_ALSA 1
   3.174 -#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2"
   3.175 -/* #undef SDL_AUDIO_DRIVER_ARTS */
   3.176 -/* #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC */
   3.177 -/* #undef SDL_AUDIO_DRIVER_BAUDIO */
   3.178 -/* #undef SDL_AUDIO_DRIVER_COREAUDIO */
   3.179 -/* #undef SDL_AUDIO_DRIVER_DART */
   3.180 -/* #undef SDL_AUDIO_DRIVER_DC */
   3.181 -#define SDL_AUDIO_DRIVER_DISK 1
   3.182 -#define SDL_AUDIO_DRIVER_DUMMY 1
   3.183 -/* #undef SDL_AUDIO_DRIVER_DMEDIA */
   3.184 -/* #undef SDL_AUDIO_DRIVER_DSOUND */
   3.185 -/* #undef SDL_AUDIO_DRIVER_ESD */
   3.186 -/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
   3.187 -/* #undef SDL_AUDIO_DRIVER_MINT */
   3.188 -/* #undef SDL_AUDIO_DRIVER_MMEAUDIO */
   3.189 -/* #undef SDL_AUDIO_DRIVER_NAS */
   3.190 -/* #undef SDL_AUDIO_DRIVER_OPENBSD */
   3.191 -#define SDL_AUDIO_DRIVER_OSS 1
   3.192 -/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
   3.193 -/* #undef SDL_AUDIO_DRIVER_PAUD */
   3.194 -/* #undef SDL_AUDIO_DRIVER_QNXNTO */
   3.195 -/* #undef SDL_AUDIO_DRIVER_SNDMGR */
   3.196 -/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
   3.197 -/* #undef SDL_AUDIO_DRIVER_WAVEOUT */
   3.198 +/* Enable the stub timer support (src/timer/dummy/\*.c) */
   3.199 +#define SDL_TIMERS_DISABLED	1
   3.200  
   3.201 -/* Enable various cdrom drivers */
   3.202 -/* #undef SDL_CDROM_AIX */
   3.203 -/* #undef SDL_CDROM_BEOS */
   3.204 -/* #undef SDL_CDROM_BSDI */
   3.205 -/* #undef SDL_CDROM_DC */
   3.206 -/* #undef SDL_CDROM_DUMMY */
   3.207 -/* #undef SDL_CDROM_FREEBSD */
   3.208 -#define SDL_CDROM_LINUX 1
   3.209 -/* #undef SDL_CDROM_MACOS */
   3.210 -/* #undef SDL_CDROM_MACOSX */
   3.211 -/* #undef SDL_CDROM_MINT */
   3.212 -/* #undef SDL_CDROM_OPENBSD */
   3.213 -/* #undef SDL_CDROM_OS2 */
   3.214 -/* #undef SDL_CDROM_OSF */
   3.215 -/* #undef SDL_CDROM_QNX */
   3.216 -/* #undef SDL_CDROM_WIN32 */
   3.217 +/* Enable the dummy video driver (src/video/dummy/\*.c) */
   3.218 +#define SDL_VIDEO_DRIVER_DUMMY	1
   3.219  
   3.220 -/* Enable various input drivers */
   3.221 -/* #undef SDL_INPUT_TSLIB */
   3.222 -/* #undef SDL_JOYSTICK_AMIGA */
   3.223 -/* #undef SDL_JOYSTICK_BEOS */
   3.224 -/* #undef SDL_JOYSTICK_DC */
   3.225 -/* #undef SDL_JOYSTICK_DUMMY */
   3.226 -/* #undef SDL_JOYSTICK_IOKIT */
   3.227 -#define SDL_JOYSTICK_LINUX 1
   3.228 -/* #undef SDL_JOYSTICK_LINUXEV */
   3.229 -/* #undef SDL_JOYSTICK_MACOS */
   3.230 -/* #undef SDL_JOYSTICK_MINT */
   3.231 -/* #undef SDL_JOYSTICK_OS2 */
   3.232 -/* #undef SDL_JOYSTICK_RISCOS */
   3.233 -/* #undef SDL_JOYSTICK_WINMM */
   3.234 -/* #undef SDL_JOYSTICK_USBHID */
   3.235 -
   3.236 -/* Enable various shared object loading systems */
   3.237 -/* #undef SDL_LOADSO_BEOS */
   3.238 -/* #undef SDL_LOADSO_DLCOMPAT */
   3.239 -#define SDL_LOADSO_DLOPEN 1
   3.240 -/* #undef SDL_LOADSO_LDG */
   3.241 -/* #undef SDL_LOADSO_MACOS */
   3.242 -/* #undef SDL_LOADSO_OS2 */
   3.243 -/* #undef SDL_LOADSO_WIN32 */
   3.244 -
   3.245 -/* Enable various threading systems */
   3.246 -/* #undef SDL_THREAD_AMIGA */
   3.247 -/* #undef SDL_THREAD_BEOS */
   3.248 -/* #undef SDL_THREAD_DC */
   3.249 -/* #undef SDL_THREAD_EPOC */
   3.250 -/* #undef SDL_THREAD_OS2 */
   3.251 -/* #undef SDL_THREAD_PTH */
   3.252 -#define SDL_THREAD_PTHREAD 1
   3.253 -#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
   3.254 -/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
   3.255 -/* #undef SDL_THREAD_SPROC */
   3.256 -/* #undef SDL_THREAD_WIN32 */
   3.257 -
   3.258 -/* Enable various timer systems */
   3.259 -/* #undef SDL_TIMER_AMIGA */
   3.260 -/* #undef SDL_TIMER_BEOS */
   3.261 -/* #undef SDL_TIMER_DC */
   3.262 -/* #undef SDL_TIMER_EPOC */
   3.263 -/* #undef SDL_TIMER_MACOS */
   3.264 -/* #undef SDL_TIMER_MINT */
   3.265 -/* #undef SDL_TIMER_OS2 */
   3.266 -/* #undef SDL_TIMER_RISCOS */
   3.267 -#define SDL_TIMER_UNIX 1
   3.268 -/* #undef SDL_TIMER_WIN32 */
   3.269 -/* #undef SDL_TIMER_WINCE */
   3.270 -
   3.271 -/* Enable various video drivers */
   3.272 -/* #undef SDL_VIDEO_DRIVER_AALIB */
   3.273 -/* #undef SDL_VIDEO_DRIVER_BWINDOW */
   3.274 -/* #undef SDL_VIDEO_DRIVER_CYBERGRAPHICS */
   3.275 -/* #undef SDL_VIDEO_DRIVER_DC */
   3.276 -/* #undef SDL_VIDEO_DRIVER_DDRAW */
   3.277 -#define SDL_VIDEO_DRIVER_DGA 1
   3.278 -/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
   3.279 -/* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */
   3.280 -#define SDL_VIDEO_DRIVER_DUMMY 1
   3.281 -/* #undef SDL_VIDEO_DRIVER_EPOC */
   3.282 -#define SDL_VIDEO_DRIVER_FBCON 1
   3.283 -/* #undef SDL_VIDEO_DRIVER_GAPI */
   3.284 -/* #undef SDL_VIDEO_DRIVER_GEM */
   3.285 -/* #undef SDL_VIDEO_DRIVER_GGI */
   3.286 -/* #undef SDL_VIDEO_DRIVER_IPOD */
   3.287 -/* #undef SDL_VIDEO_DRIVER_NANOX */
   3.288 -/* #undef SDL_VIDEO_DRIVER_OS2FS */
   3.289 -/* #undef SDL_VIDEO_DRIVER_PHOTON */
   3.290 -/* #undef SDL_VIDEO_DRIVER_PICOGUI */
   3.291 -/* #undef SDL_VIDEO_DRIVER_PS2GS */
   3.292 -/* #undef SDL_VIDEO_DRIVER_QTOPIA */
   3.293 -/* #undef SDL_VIDEO_DRIVER_QUARTZ */
   3.294 -/* #undef SDL_VIDEO_DRIVER_RISCOS */
   3.295 -/* #undef SDL_VIDEO_DRIVER_SVGALIB */
   3.296 -/* #undef SDL_VIDEO_DRIVER_TOOLBOX */
   3.297 -/* #undef SDL_VIDEO_DRIVER_VGL */
   3.298 -/* #undef SDL_VIDEO_DRIVER_WINDIB */
   3.299 -/* #undef SDL_VIDEO_DRIVER_WSCONS */
   3.300 -#define SDL_VIDEO_DRIVER_X11 1
   3.301 -#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
   3.302 -/* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC */
   3.303 -/* #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT */
   3.304 -#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
   3.305 -#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
   3.306 -#define SDL_VIDEO_DRIVER_X11_XME 1
   3.307 -#define SDL_VIDEO_DRIVER_X11_XV 1
   3.308 -/* #undef SDL_VIDEO_DRIVER_XBIOS */
   3.309 -
   3.310 -/* Enable OpenGL support */
   3.311 -#define SDL_VIDEO_OPENGL 1
   3.312 -#define SDL_VIDEO_OPENGL_GLX 1
   3.313 -/* #undef SDL_VIDEO_OPENGL_WGL */
   3.314 -/* #undef SDL_VIDEO_OPENGL_OSMESA */
   3.315 -/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
   3.316 -
   3.317 -/* Enable assembly routines */
   3.318 -#define SDL_ASSEMBLY_ROUTINES 1
   3.319 -/* #undef SDL_HERMES_BLITTERS */
   3.320 -/* #undef SDL_ALTIVEC_BLITTERS */
   3.321 +#endif /* platform config */
   3.322  
   3.323  #endif /* _SDL_config_h */
     4.1 --- a/include/SDL_config_amiga.h	Tue Mar 14 08:53:33 2006 +0000
     4.2 +++ b/include/SDL_config_amiga.h	Tue Mar 14 16:19:32 2006 +0000
     4.3 @@ -50,8 +50,8 @@
     4.4  
     4.5  /* Enable various audio drivers */
     4.6  #define SDL_AUDIO_DRIVER_AHI	1
     4.7 +#define SDL_AUDIO_DRIVER_DISK	1
     4.8  #define SDL_AUDIO_DRIVER_DUMMY	1
     4.9 -#define SDL_AUDIO_DRIVER_DISK	1
    4.10  
    4.11  /* Enable various cdrom drivers */
    4.12  #define SDL_CDROM_DUMMY	1
    4.13 @@ -70,6 +70,7 @@
    4.14  
    4.15  /* Enable various video drivers */
    4.16  #define SDL_VIDEO_DRIVER_CYBERGRAPHICS	1
    4.17 +#define SDL_VIDEO_DRIVER_DUMMY	1
    4.18  
    4.19  /* Enable OpenGL support */
    4.20  #define SDL_VIDEO_OPENGL	1
     5.1 --- a/include/SDL_config_dreamcast.h	Tue Mar 14 08:53:33 2006 +0000
     5.2 +++ b/include/SDL_config_dreamcast.h	Tue Mar 14 16:19:32 2006 +0000
     5.3 @@ -79,6 +79,7 @@
     5.4  
     5.5  /* Enable various audio drivers */
     5.6  #define SDL_AUDIO_DRIVER_DC	1
     5.7 +#define SDL_AUDIO_DRIVER_DISK	1
     5.8  #define SDL_AUDIO_DRIVER_DUMMY	1
     5.9  
    5.10  /* Enable various cdrom drivers */
    5.11 @@ -98,5 +99,6 @@
    5.12  
    5.13  /* Enable various video drivers */
    5.14  #define SDL_VIDEO_DRIVER_DC	1
    5.15 +#define SDL_VIDEO_DRIVER_DUMMY	1
    5.16  
    5.17  #endif /* _SDL_config_dreamcast_h */
     6.1 --- a/include/SDL_config_macos.h	Tue Mar 14 08:53:33 2006 +0000
     6.2 +++ b/include/SDL_config_macos.h	Tue Mar 14 16:19:32 2006 +0000
     6.3 @@ -86,6 +86,7 @@
     6.4  #define SDL_TIMER_MACOS	1
     6.5  
     6.6  /* Enable various video drivers */
     6.7 +#define SDL_VIDEO_DRIVER_DUMMY	1
     6.8  #define SDL_VIDEO_DRIVER_DRAWSPROCKET	1
     6.9  #define SDL_VIDEO_DRIVER_TOOLBOX	1
    6.10  
     7.1 --- a/include/SDL_config_os2.h	Tue Mar 14 08:53:33 2006 +0000
     7.2 +++ b/include/SDL_config_os2.h	Tue Mar 14 16:19:32 2006 +0000
     7.3 @@ -127,6 +127,7 @@
     7.4  #define SDL_TIMER_OS2	1
     7.5  
     7.6  /* Enable various video drivers */
     7.7 +#define SDL_VIDEO_DRIVER_DUMMY	1
     7.8  #define SDL_VIDEO_DRIVER_OS2FS	1
     7.9  
    7.10  /* Enable OpenGL support */
     8.1 --- a/include/SDL_config_win32.h	Tue Mar 14 08:53:33 2006 +0000
     8.2 +++ b/include/SDL_config_win32.h	Tue Mar 14 16:19:32 2006 +0000
     8.3 @@ -152,6 +152,7 @@
     8.4  #ifndef _WIN32_WCE
     8.5  #define SDL_VIDEO_DRIVER_DDRAW	1
     8.6  #endif
     8.7 +#define SDL_VIDEO_DRIVER_DUMMY	1
     8.8  #define SDL_VIDEO_DRIVER_WINDIB	1
     8.9  
    8.10  /* Enable OpenGL support */
     9.1 --- a/src/audio/dummy/SDL_dummyaudio.c	Tue Mar 14 08:53:33 2006 +0000
     9.2 +++ b/src/audio/dummy/SDL_dummyaudio.c	Tue Mar 14 16:19:32 2006 +0000
     9.3 @@ -24,11 +24,7 @@
     9.4  */
     9.5  #include "SDL_config.h"
     9.6  
     9.7 -/* Output raw audio data to a file. */
     9.8 -
     9.9 -#if HAVE_STDIO_H
    9.10 -#include <stdio.h>
    9.11 -#endif
    9.12 +/* Output audio to nowhere... */
    9.13  
    9.14  #include "SDL_rwops.h"
    9.15  #include "SDL_timer.h"
    9.16 @@ -135,11 +131,6 @@
    9.17  
    9.18  static int DUMMYAUD_OpenAudio(_THIS, SDL_AudioSpec *spec)
    9.19  {
    9.20 -#if HAVE_STDIO_H
    9.21 -	fprintf(stderr, "\nWARNING: You are using the SDL dummy audio driver!"
    9.22 -                    " No sound will be output!\n\n");
    9.23 -#endif
    9.24 -
    9.25  	/* Allocate mixing buffer */
    9.26  	this->hidden->mixlen = spec->size;
    9.27  	this->hidden->mixbuf = (Uint8 *) SDL_AllocAudioMem(this->hidden->mixlen);