2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2009 Sam Lantinga
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
27 * \file SDL_config.h.in
29 * This is a set of defines to configure the SDL features
32 /* General platform specific identifiers */
33 #include "SDL_platform.h"
35 /* Make sure that this isn't included by Visual C++ */
37 #error You should copy include/SDL_config.h.default to include/SDL_config.h
40 /* C language features */
46 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
57 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
60 #undef SDL_HAS_64BIT_TYPE
62 /* Comment this if you want to build without any C library requirements */
68 #undef HAVE_SYS_TYPES_H
77 #undef HAVE_INTTYPES_H
85 /* C library functions */
91 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
132 #undef HAVE_STRCASECMP
133 #undef HAVE__STRNICMP
134 #undef HAVE_STRNCASECMP
137 #undef HAVE_VSNPRINTF
153 #undef HAVE_SIGACTION
155 #undef HAVE_NANOSLEEP
157 #undef HAVE_SYSCTLBYNAME
158 #undef HAVE_CLOCK_GETTIME
159 #undef HAVE_GETPAGESIZE
163 /* We may need some replacement for stdarg.h here */
165 #endif /* HAVE_LIBC */
167 /* SDL internal assertion support */
168 #undef SDL_DEFAULT_ASSERT_LEVEL
170 /* Allow disabling of core subsystems */
171 #undef SDL_AUDIO_DISABLED
172 #undef SDL_CPUINFO_DISABLED
173 #undef SDL_EVENTS_DISABLED
174 #undef SDL_FILE_DISABLED
175 #undef SDL_JOYSTICK_DISABLED
176 #undef SDL_HAPTIC_DISABLED
177 #undef SDL_LOADSO_DISABLED
178 #undef SDL_THREADS_DISABLED
179 #undef SDL_TIMERS_DISABLED
180 #undef SDL_VIDEO_DISABLED
181 #undef SDL_POWER_DISABLED
183 /* Enable various audio drivers */
184 #undef SDL_AUDIO_DRIVER_ALSA
185 #undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
186 #undef SDL_AUDIO_DRIVER_ARTS
187 #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
188 #undef SDL_AUDIO_DRIVER_PULSEAUDIO
189 #undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
190 #undef SDL_AUDIO_DRIVER_BEOSAUDIO
191 #undef SDL_AUDIO_DRIVER_BSD
192 #undef SDL_AUDIO_DRIVER_COREAUDIO
193 #undef SDL_AUDIO_DRIVER_DISK
194 #undef SDL_AUDIO_DRIVER_DUMMY
195 #undef SDL_AUDIO_DRIVER_DMEDIA
196 #undef SDL_AUDIO_DRIVER_DSOUND
197 #undef SDL_AUDIO_DRIVER_ESD
198 #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
199 #undef SDL_AUDIO_DRIVER_MMEAUDIO
200 #undef SDL_AUDIO_DRIVER_NAS
201 #undef SDL_AUDIO_DRIVER_NAS_DYNAMIC
202 #undef SDL_AUDIO_DRIVER_NDS
203 #undef SDL_AUDIO_DRIVER_OSS
204 #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
205 #undef SDL_AUDIO_DRIVER_PAUDIO
206 #undef SDL_AUDIO_DRIVER_QSA
207 #undef SDL_AUDIO_DRIVER_SUNAUDIO
208 #undef SDL_AUDIO_DRIVER_WINWAVEOUT
209 #undef SDL_AUDIO_DRIVER_FUSIONSOUND
210 #undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
212 /* Enable various input drivers */
213 #undef SDL_INPUT_LINUXEV
214 #undef SDL_INPUT_TSLIB
215 #undef SDL_JOYSTICK_BEOS
216 #undef SDL_JOYSTICK_DINPUT
217 #undef SDL_JOYSTICK_DUMMY
218 #undef SDL_JOYSTICK_IOKIT
219 #undef SDL_JOYSTICK_LINUX
220 #undef SDL_JOYSTICK_NDS
221 #undef SDL_JOYSTICK_RISCOS
222 #undef SDL_JOYSTICK_WINMM
223 #undef SDL_JOYSTICK_USBHID
224 #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
225 #undef SDL_HAPTIC_DUMMY
226 #undef SDL_HAPTIC_LINUX
227 #undef SDL_HAPTIC_IOKIT
228 #undef SDL_HAPTIC_DINPUT
230 /* Enable various shared object loading systems */
231 #undef SDL_LOADSO_BEOS
232 #undef SDL_LOADSO_DLCOMPAT
233 #undef SDL_LOADSO_DLOPEN
234 #undef SDL_LOADSO_DUMMY
235 #undef SDL_LOADSO_LDG
236 #undef SDL_LOADSO_WIN32
238 /* Enable various threading systems */
239 #undef SDL_THREAD_BEOS
240 #undef SDL_THREAD_NDS
241 #undef SDL_THREAD_PTHREAD
242 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
243 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
244 #undef SDL_THREAD_SPROC
245 #undef SDL_THREAD_WIN32
247 /* Enable various timer systems */
248 #undef SDL_TIMER_BEOS
249 #undef SDL_TIMER_DUMMY
251 #undef SDL_TIMER_RISCOS
252 #undef SDL_TIMER_UNIX
253 #undef SDL_TIMER_WIN32
254 #undef SDL_TIMER_WINCE
256 /* Enable various video drivers */
257 #undef SDL_VIDEO_DRIVER_BWINDOW
258 #undef SDL_VIDEO_DRIVER_COCOA
259 #undef SDL_VIDEO_DRIVER_DIRECTFB
260 #undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC
261 #undef SDL_VIDEO_DRIVER_DUMMY
262 #undef SDL_VIDEO_DRIVER_FBCON
263 #undef SDL_VIDEO_DRIVER_NDS
264 #undef SDL_VIDEO_DRIVER_PHOTON
265 #undef SDL_VIDEO_DRIVER_QNXGF
266 #undef SDL_VIDEO_DRIVER_PS3
267 #undef SDL_VIDEO_DRIVER_RISCOS
268 #undef SDL_VIDEO_DRIVER_SVGALIB
269 #undef SDL_VIDEO_DRIVER_WIN32
270 #undef SDL_VIDEO_DRIVER_X11
271 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC
272 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
273 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
274 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER
275 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT
276 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
277 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XDAMAGE
278 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES
279 #undef SDL_VIDEO_DRIVER_X11_VIDMODE
280 #undef SDL_VIDEO_DRIVER_X11_XINERAMA
281 #undef SDL_VIDEO_DRIVER_X11_XRANDR
282 #undef SDL_VIDEO_DRIVER_X11_XINPUT
283 #undef SDL_VIDEO_DRIVER_X11_SCRNSAVER
284 #undef SDL_VIDEO_DRIVER_X11_XV
285 #undef SDL_VIDEO_DRIVER_X11_XRENDER
286 #undef SDL_VIDEO_DRIVER_X11_XDAMAGE
287 #undef SDL_VIDEO_DRIVER_X11_XFIXES
288 #undef SDL_VIDEO_DRIVER_X11_XSHAPE
290 #undef SDL_VIDEO_RENDER_D3D
291 #undef SDL_VIDEO_RENDER_GDI
292 #undef SDL_VIDEO_RENDER_OGL
293 #undef SDL_VIDEO_RENDER_OGL_ES
294 #undef SDL_VIDEO_RENDER_X11
295 #undef SDL_VIDEO_RENDER_GAPI
296 #undef SDL_VIDEO_RENDER_DDRAW
298 /* Enable OpenGL support */
299 #undef SDL_VIDEO_OPENGL
300 #undef SDL_VIDEO_OPENGL_ES
301 #undef SDL_VIDEO_OPENGL_BGL
302 #undef SDL_VIDEO_OPENGL_CGL
303 #undef SDL_VIDEO_OPENGL_GLX
304 #undef SDL_VIDEO_OPENGL_WGL
305 #undef SDL_VIDEO_OPENGL_OSMESA
306 #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC
308 /* Enable system power support */
309 #undef SDL_POWER_LINUX
310 #undef SDL_POWER_WINDOWS
311 #undef SDL_POWER_MACOSX
312 #undef SDL_POWER_BEOS
313 #undef SDL_POWER_NINTENDODS
314 #undef SDL_POWER_HARDWIRED
316 /* Enable assembly routines */
317 #undef SDL_ASSEMBLY_ROUTINES
318 #undef SDL_ALTIVEC_BLITTERS
320 #endif /* _SDL_config_h */