Mercurial > sdl-ios-xcode
comparison include/SDL_config.h @ 1424:7a610f25c12f
Updated MacOS Classic MPW build
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 24 Feb 2006 09:57:14 +0000 |
parents | d2ee8da60262 |
children | aea151eb97b8 |
comparison
equal
deleted
inserted
replaced
1423:4ed717f9e509 | 1424:7a610f25c12f |
---|---|
1 /* include/SDL_config.h. Generated by configure. */ | |
1 /* | 2 /* |
2 SDL - Simple DirectMedia Layer | 3 SDL - Simple DirectMedia Layer |
3 Copyright (C) 1997-2006 Sam Lantinga | 4 Copyright (C) 1997-2006 Sam Lantinga |
4 | 5 |
5 This library is free software; you can redistribute it and/or | 6 This library is free software; you can redistribute it and/or |
21 */ | 22 */ |
22 | 23 |
23 #ifndef _SDL_config_h | 24 #ifndef _SDL_config_h |
24 #define _SDL_config_h | 25 #define _SDL_config_h |
25 | 26 |
27 /* This is a set of defines to configure the SDL features */ | |
28 | |
29 /* General platform specific identifiers */ | |
26 #include "SDL_platform.h" | 30 #include "SDL_platform.h" |
27 | 31 |
28 /* Add any platform that doesn't build using the configure system */ | 32 /* C language features */ |
29 #if defined(__AMIGA__) | 33 /* #undef const */ |
30 #include "SDL_config_amiga.h" | 34 /* #undef inline */ |
31 #elif defined(__DREAMCAST__) | 35 /* #undef volatile */ |
32 #include "SDL_config_dreamcast.h" | 36 |
33 #elif defined(__MACOS__) | 37 /* C datatypes */ |
34 #include "SDL_config_macos.h" | 38 /* #undef size_t */ |
35 #elif defined(__MACOSX__) | 39 /* #undef int8_t */ |
36 #include "SDL_config_macosx.h" | 40 /* #undef uint8_t */ |
37 #elif defined(__WIN32__) | 41 /* #undef int16_t */ |
38 #include "SDL_config_win32.h" | 42 /* #undef uint16_t */ |
43 /* #undef int32_t */ | |
44 /* #undef uint32_t */ | |
45 /* #undef int64_t */ | |
46 /* #undef uint64_t */ | |
47 /* #undef uintptr_t */ | |
48 #define SDL_HAS_64BIT_TYPE 1 | |
49 | |
50 /* Endianness */ | |
51 #define SDL_BYTEORDER 1234 | |
52 | |
53 /* Comment this if you want to build without any C library requirements */ | |
54 #define HAVE_LIBC 1 | |
55 #if HAVE_LIBC | |
56 | |
57 /* Useful headers */ | |
58 #define HAVE_ALLOCA_H 1 | |
59 #define HAVE_SYS_TYPES_H 1 | |
60 #define HAVE_STDIO_H 1 | |
61 #define STDC_HEADERS 1 | |
62 #define HAVE_STDLIB_H 1 | |
63 #define HAVE_STDARG_H 1 | |
64 #define HAVE_MALLOC_H 1 | |
65 #define HAVE_MEMORY_H 1 | |
66 #define HAVE_STRING_H 1 | |
67 #define HAVE_STRINGS_H 1 | |
68 #define HAVE_INTTYPES_H 1 | |
69 #define HAVE_STDINT_H 1 | |
70 #define HAVE_CTYPE_H 1 | |
71 #define HAVE_MATH_H 1 | |
72 #define HAVE_SIGNAL_H 1 | |
73 /* #undef HAVE_ALTIVEC_H */ | |
74 | |
75 /* C library functions */ | |
76 #define HAVE_MALLOC 1 | |
77 #define HAVE_CALLOC 1 | |
78 #define HAVE_REALLOC 1 | |
79 #define HAVE_FREE 1 | |
80 #define HAVE_ALLOCA 1 | |
81 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */ | |
82 #define HAVE_GETENV 1 | |
83 #define HAVE_PUTENV 1 | |
84 #define HAVE_UNSETENV 1 | |
85 #endif | |
86 #define HAVE_QSORT 1 | |
87 #define HAVE_ABS 1 | |
88 #define HAVE_BCOPY 1 | |
89 #define HAVE_MEMSET 1 | |
90 #define HAVE_MEMCPY 1 | |
91 #define HAVE_MEMMOVE 1 | |
92 #define HAVE_MEMCMP 1 | |
93 #define HAVE_STRLEN 1 | |
94 /* #undef HAVE_STRLCPY */ | |
95 /* #undef HAVE_STRLCAT */ | |
96 #define HAVE_STRDUP 1 | |
97 /* #undef HAVE__STRREV */ | |
98 /* #undef HAVE__STRUPR */ | |
99 /* #undef HAVE__STRLWR */ | |
100 /* #undef HAVE_INDEX */ | |
101 /* #undef HAVE_RINDEX */ | |
102 #define HAVE_STRCHR 1 | |
103 #define HAVE_STRRCHR 1 | |
104 #define HAVE_STRSTR 1 | |
105 /* #undef HAVE_ITOA */ | |
106 /* #undef HAVE__LTOA */ | |
107 /* #undef HAVE__UITOA */ | |
108 /* #undef HAVE__ULTOA */ | |
109 #define HAVE_STRTOL 1 | |
110 /* #undef HAVE__I64TOA */ | |
111 /* #undef HAVE__UI64TOA */ | |
112 #define HAVE_STRTOLL 1 | |
113 #define HAVE_STRTOD 1 | |
114 #define HAVE_ATOI 1 | |
115 #define HAVE_ATOF 1 | |
116 #define HAVE_STRCMP 1 | |
117 #define HAVE_STRNCMP 1 | |
118 /* #undef HAVE_STRICMP */ | |
119 #define HAVE_STRCASECMP 1 | |
120 #define HAVE_SSCANF 1 | |
121 #define HAVE_SNPRINTF 1 | |
122 #define HAVE_VSNPRINTF 1 | |
123 #define HAVE_SIGACTION 1 | |
124 #define HAVE_SETJMP 1 | |
125 #define HAVE_NANOSLEEP 1 | |
126 /* #undef HAVE_CLOCK_GETTIME */ | |
127 #define HAVE_DLVSYM 1 | |
128 | |
39 #else | 129 #else |
40 /* This is the minimal configuration that can be used to build SDL */ | 130 /* We may need some replacement for stdarg.h here */ |
41 | |
42 #include <stdarg.h> | 131 #include <stdarg.h> |
43 | 132 #endif /* HAVE_LIBC */ |
44 typedef signed char int8_t; | 133 |
45 typedef unsigned char uint8_t; | 134 /* Allow disabling of core subsystems */ |
46 typedef signed short int16_t; | 135 /* #undef SDL_AUDIO_DISABLED */ |
47 typedef unsigned short uint16_t; | 136 /* #undef SDL_CDROM_DISABLED */ |
48 typedef signed int int32_t; | 137 /* #undef SDL_CPUINFO_DISABLED */ |
49 typedef unsigned int uint32_t; | 138 /* #undef SDL_EVENTS_DISABLED */ |
50 typedef unsigned int size_t; | 139 /* #undef SDL_FILE_DISABLED */ |
51 typedef unsigned long uintptr_t; | 140 /* #undef SDL_JOYSTICK_DISABLED */ |
52 #endif | 141 /* #undef SDL_LOADSO_DISABLED */ |
142 /* #undef SDL_THREADS_DISABLED */ | |
143 /* #undef SDL_TIMERS_DISABLED */ | |
144 /* #undef SDL_VIDEO_DISABLED */ | |
145 | |
146 /* Enable various audio drivers */ | |
147 /* #undef SDL_AUDIO_DRIVER_AHI */ | |
148 #define SDL_AUDIO_DRIVER_ALSA 1 | |
149 #define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2" | |
150 #define SDL_AUDIO_DRIVER_ARTS 1 | |
151 #define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "libartsc.so.0" | |
152 /* #undef SDL_AUDIO_DRIVER_BAUDIO */ | |
153 /* #undef SDL_AUDIO_DRIVER_COREAUDIO */ | |
154 /* #undef SDL_AUDIO_DRIVER_DART */ | |
155 /* #undef SDL_AUDIO_DRIVER_DC */ | |
156 #define SDL_AUDIO_DRIVER_DISK 1 | |
157 /* #undef SDL_AUDIO_DRIVER_DMEDIA */ | |
158 /* #undef SDL_AUDIO_DRIVER_DSOUND */ | |
159 #define SDL_AUDIO_DRIVER_ESD 1 | |
160 /* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */ | |
161 /* #undef SDL_AUDIO_DRIVER_MINT */ | |
162 /* #undef SDL_AUDIO_DRIVER_MMEAUDIO */ | |
163 #define SDL_AUDIO_DRIVER_NAS 1 | |
164 /* #undef SDL_AUDIO_DRIVER_OPENBSD */ | |
165 #define SDL_AUDIO_DRIVER_OSS 1 | |
166 /* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */ | |
167 /* #undef SDL_AUDIO_DRIVER_PAUD */ | |
168 /* #undef SDL_AUDIO_DRIVER_QNXNTO */ | |
169 /* #undef SDL_AUDIO_DRIVER_SNDMGR */ | |
170 /* #undef SDL_AUDIO_DRIVER_SUNAUDIO */ | |
171 /* #undef SDL_AUDIO_DRIVER_WAVEOUT */ | |
172 | |
173 /* Enable various cdrom drivers */ | |
174 /* #undef SDL_CDROM_AIX */ | |
175 /* #undef SDL_CDROM_BEOS */ | |
176 /* #undef SDL_CDROM_BSDI */ | |
177 /* #undef SDL_CDROM_DC */ | |
178 /* #undef SDL_CDROM_DUMMY */ | |
179 /* #undef SDL_CDROM_FREEBSD */ | |
180 #define SDL_CDROM_LINUX 1 | |
181 /* #undef SDL_CDROM_MACOS */ | |
182 /* #undef SDL_CDROM_MACOSX */ | |
183 /* #undef SDL_CDROM_MINT */ | |
184 /* #undef SDL_CDROM_OPENBSD */ | |
185 /* #undef SDL_CDROM_OS2 */ | |
186 /* #undef SDL_CDROM_OSF */ | |
187 /* #undef SDL_CDROM_QNX */ | |
188 /* #undef SDL_CDROM_WIN32 */ | |
189 | |
190 /* Enable various input drivers */ | |
191 /* #undef SDL_INPUT_TSLIB */ | |
192 /* #undef SDL_JOYSTICK_AMIGA */ | |
193 /* #undef SDL_JOYSTICK_BEOS */ | |
194 /* #undef SDL_JOYSTICK_DC */ | |
195 /* #undef SDL_JOYSTICK_DUMMY */ | |
196 /* #undef SDL_JOYSTICK_IOKIT */ | |
197 #define SDL_JOYSTICK_LINUX 1 | |
198 /* #undef SDL_JOYSTICK_LINUXEV */ | |
199 /* #undef SDL_JOYSTICK_MACOS */ | |
200 /* #undef SDL_JOYSTICK_MINT */ | |
201 /* #undef SDL_JOYSTICK_OS2 */ | |
202 /* #undef SDL_JOYSTICK_RISCOS */ | |
203 /* #undef SDL_JOYSTICK_WINMM */ | |
204 /* #undef SDL_JOYSTICK_USBHID */ | |
205 | |
206 /* Enable various shared object loading systems */ | |
207 /* #undef SDL_LOADSO_BEOS */ | |
208 /* #undef SDL_LOADSO_DLCOMPAT */ | |
209 #define SDL_LOADSO_DLOPEN 1 | |
210 /* #undef SDL_LOADSO_LDG */ | |
211 /* #undef SDL_LOADSO_MACOS */ | |
212 /* #undef SDL_LOADSO_OS2 */ | |
213 /* #undef SDL_LOADSO_WIN32 */ | |
214 | |
215 /* Enable various threading systems */ | |
216 /* #undef SDL_THREAD_AMIGA */ | |
217 /* #undef SDL_THREAD_BEOS */ | |
218 /* #undef SDL_THREAD_DC */ | |
219 /* #undef SDL_THREAD_EPOC */ | |
220 /* #undef SDL_THREAD_OS2 */ | |
221 /* #undef SDL_THREAD_PTH */ | |
222 #define SDL_THREAD_PTHREAD 1 | |
223 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 | |
224 /* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */ | |
225 /* #undef SDL_THREAD_SPROC */ | |
226 /* #undef SDL_THREAD_WIN32 */ | |
227 | |
228 /* Enable various timer systems */ | |
229 /* #undef SDL_TIMER_AMIGA */ | |
230 /* #undef SDL_TIMER_BEOS */ | |
231 /* #undef SDL_TIMER_DC */ | |
232 /* #undef SDL_TIMER_EPOC */ | |
233 /* #undef SDL_TIMER_MACOS */ | |
234 /* #undef SDL_TIMER_MINT */ | |
235 /* #undef SDL_TIMER_OS2 */ | |
236 /* #undef SDL_TIMER_RISCOS */ | |
237 #define SDL_TIMER_UNIX 1 | |
238 /* #undef SDL_TIMER_WIN32 */ | |
239 /* #undef SDL_TIMER_WINCE */ | |
240 | |
241 /* Enable various video drivers */ | |
242 /* #undef SDL_VIDEO_DRIVER_AALIB */ | |
243 /* #undef SDL_VIDEO_DRIVER_BWINDOW */ | |
244 /* #undef SDL_VIDEO_DRIVER_CYBERGRAPHICS */ | |
245 /* #undef SDL_VIDEO_DRIVER_DC */ | |
246 /* #undef SDL_VIDEO_DRIVER_DDRAW */ | |
247 #define SDL_VIDEO_DRIVER_DGA 1 | |
248 /* #undef SDL_VIDEO_DRIVER_DIRECTFB */ | |
249 /* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */ | |
250 #define SDL_VIDEO_DRIVER_DUMMY 1 | |
251 /* #undef SDL_VIDEO_DRIVER_EPOC */ | |
252 #define SDL_VIDEO_DRIVER_FBCON 1 | |
253 /* #undef SDL_VIDEO_DRIVER_GAPI */ | |
254 /* #undef SDL_VIDEO_DRIVER_GEM */ | |
255 /* #undef SDL_VIDEO_DRIVER_GGI */ | |
256 /* #undef SDL_VIDEO_DRIVER_IPOD */ | |
257 /* #undef SDL_VIDEO_DRIVER_NANOX */ | |
258 /* #undef SDL_VIDEO_DRIVER_OS2FS */ | |
259 /* #undef SDL_VIDEO_DRIVER_PHOTON */ | |
260 /* #undef SDL_VIDEO_DRIVER_PICOGUI */ | |
261 /* #undef SDL_VIDEO_DRIVER_PS2GS */ | |
262 /* #undef SDL_VIDEO_DRIVER_QTOPIA */ | |
263 /* #undef SDL_VIDEO_DRIVER_QUARTZ */ | |
264 /* #undef SDL_VIDEO_DRIVER_RISCOS */ | |
265 /* #undef SDL_VIDEO_DRIVER_SVGALIB */ | |
266 /* #undef SDL_VIDEO_DRIVER_TOOLBOX */ | |
267 /* #undef SDL_VIDEO_DRIVER_VGL */ | |
268 /* #undef SDL_VIDEO_DRIVER_WINDIB */ | |
269 /* #undef SDL_VIDEO_DRIVER_WSCONS */ | |
270 #define SDL_VIDEO_DRIVER_X11 1 | |
271 #define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1 | |
272 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6" | |
273 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6" | |
274 #define SDL_VIDEO_DRIVER_X11_VIDMODE 1 | |
275 #define SDL_VIDEO_DRIVER_X11_XINERAMA 1 | |
276 #define SDL_VIDEO_DRIVER_X11_XME 1 | |
277 #define SDL_VIDEO_DRIVER_X11_XV 1 | |
278 /* #undef SDL_VIDEO_DRIVER_XBIOS */ | |
279 | |
280 /* Enable OpenGL support */ | |
281 #define SDL_VIDEO_OPENGL 1 | |
282 #define SDL_VIDEO_OPENGL_GLX 1 | |
283 /* #undef SDL_VIDEO_OPENGL_WGL */ | |
284 /* #undef SDL_VIDEO_OPENGL_OSMESA */ | |
285 /* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */ | |
286 | |
287 /* Enable assembly routines */ | |
288 #define SDL_ASSEMBLY_ROUTINES 1 | |
289 /* #undef SDL_HERMES_BLITTERS */ | |
290 /* #undef SDL_ALTIVEC_BLITTERS */ | |
53 | 291 |
54 #endif /* _SDL_config_h */ | 292 #endif /* _SDL_config_h */ |