diff options
Diffstat (limited to 'vendor/SDL2/include/SDL_config.h.cmake')
-rw-r--r-- | vendor/SDL2/include/SDL_config.h.cmake | 445 |
1 files changed, 445 insertions, 0 deletions
diff --git a/vendor/SDL2/include/SDL_config.h.cmake b/vendor/SDL2/include/SDL_config.h.cmake new file mode 100644 index 0000000..c57266c --- /dev/null +++ b/vendor/SDL2/include/SDL_config.h.cmake | |||
@@ -0,0 +1,445 @@ | |||
1 | /* | ||
2 | Simple DirectMedia Layer | ||
3 | Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org> | ||
4 | |||
5 | This software is provided 'as-is', without any express or implied | ||
6 | warranty. In no event will the authors be held liable for any damages | ||
7 | arising from the use of this software. | ||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, | ||
10 | including commercial applications, and to alter it and redistribute it | ||
11 | freely, subject to the following restrictions: | ||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not | ||
14 | claim that you wrote the original software. If you use this software | ||
15 | in a product, an acknowledgment in the product documentation would be | ||
16 | appreciated but is not required. | ||
17 | 2. Altered source versions must be plainly marked as such, and must not be | ||
18 | misrepresented as being the original software. | ||
19 | 3. This notice may not be removed or altered from any source distribution. | ||
20 | */ | ||
21 | |||
22 | #ifndef SDL_config_h_ | ||
23 | #define SDL_config_h_ | ||
24 | |||
25 | /** | ||
26 | * \file SDL_config.h.in | ||
27 | * | ||
28 | * This is a set of defines to configure the SDL features | ||
29 | */ | ||
30 | |||
31 | /* General platform specific identifiers */ | ||
32 | #include "SDL_platform.h" | ||
33 | |||
34 | /* C language features */ | ||
35 | #cmakedefine const @HAVE_CONST@ | ||
36 | #cmakedefine inline @HAVE_INLINE@ | ||
37 | #cmakedefine volatile @HAVE_VOLATILE@ | ||
38 | |||
39 | /* C datatypes */ | ||
40 | /* Define SIZEOF_VOIDP for 64/32 architectures */ | ||
41 | #ifdef __LP64__ | ||
42 | #define SIZEOF_VOIDP 8 | ||
43 | #else | ||
44 | #define SIZEOF_VOIDP 4 | ||
45 | #endif | ||
46 | |||
47 | #cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@ | ||
48 | #cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@ | ||
49 | |||
50 | #cmakedefine HAVE_D3D_H @HAVE_D3D_H@ | ||
51 | #cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@ | ||
52 | #cmakedefine HAVE_DDRAW_H @HAVE_DDRAW_H@ | ||
53 | #cmakedefine HAVE_DSOUND_H @HAVE_DSOUND_H@ | ||
54 | #cmakedefine HAVE_DINPUT_H @HAVE_DINPUT_H@ | ||
55 | #cmakedefine HAVE_XAUDIO2_H @HAVE_XAUDIO2_H@ | ||
56 | #cmakedefine HAVE_XINPUT_H @HAVE_XINPUT_H@ | ||
57 | #cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@ | ||
58 | #cmakedefine HAVE_XINPUT_GAMEPAD_EX @HAVE_XINPUT_GAMEPAD_EX@ | ||
59 | #cmakedefine HAVE_XINPUT_STATE_EX @HAVE_XINPUT_STATE_EX@ | ||
60 | |||
61 | /* Comment this if you want to build without any C library requirements */ | ||
62 | #cmakedefine HAVE_LIBC 1 | ||
63 | #if HAVE_LIBC | ||
64 | |||
65 | /* Useful headers */ | ||
66 | #cmakedefine HAVE_ALLOCA_H 1 | ||
67 | #cmakedefine HAVE_SYS_TYPES_H 1 | ||
68 | #cmakedefine HAVE_STDIO_H 1 | ||
69 | #cmakedefine STDC_HEADERS 1 | ||
70 | #cmakedefine HAVE_STDLIB_H 1 | ||
71 | #cmakedefine HAVE_STDARG_H 1 | ||
72 | #cmakedefine HAVE_MALLOC_H 1 | ||
73 | #cmakedefine HAVE_MEMORY_H 1 | ||
74 | #cmakedefine HAVE_STRING_H 1 | ||
75 | #cmakedefine HAVE_STRINGS_H 1 | ||
76 | #cmakedefine HAVE_WCHAR_H 1 | ||
77 | #cmakedefine HAVE_INTTYPES_H 1 | ||
78 | #cmakedefine HAVE_STDINT_H 1 | ||
79 | #cmakedefine HAVE_CTYPE_H 1 | ||
80 | #cmakedefine HAVE_MATH_H 1 | ||
81 | #cmakedefine HAVE_ICONV_H 1 | ||
82 | #cmakedefine HAVE_SIGNAL_H 1 | ||
83 | #cmakedefine HAVE_ALTIVEC_H 1 | ||
84 | #cmakedefine HAVE_PTHREAD_NP_H 1 | ||
85 | #cmakedefine HAVE_LIBUDEV_H 1 | ||
86 | #cmakedefine HAVE_DBUS_DBUS_H 1 | ||
87 | #cmakedefine HAVE_IBUS_IBUS_H 1 | ||
88 | #cmakedefine HAVE_FCITX_FRONTEND_H 1 | ||
89 | #cmakedefine HAVE_LIBSAMPLERATE_H 1 | ||
90 | |||
91 | /* C library functions */ | ||
92 | #cmakedefine HAVE_MALLOC 1 | ||
93 | #cmakedefine HAVE_CALLOC 1 | ||
94 | #cmakedefine HAVE_REALLOC 1 | ||
95 | #cmakedefine HAVE_FREE 1 | ||
96 | #cmakedefine HAVE_ALLOCA 1 | ||
97 | #ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */ | ||
98 | #cmakedefine HAVE_GETENV 1 | ||
99 | #cmakedefine HAVE_SETENV 1 | ||
100 | #cmakedefine HAVE_PUTENV 1 | ||
101 | #cmakedefine HAVE_UNSETENV 1 | ||
102 | #endif | ||
103 | #cmakedefine HAVE_QSORT 1 | ||
104 | #cmakedefine HAVE_ABS 1 | ||
105 | #cmakedefine HAVE_BCOPY 1 | ||
106 | #cmakedefine HAVE_MEMSET 1 | ||
107 | #cmakedefine HAVE_MEMCPY 1 | ||
108 | #cmakedefine HAVE_MEMMOVE 1 | ||
109 | #cmakedefine HAVE_MEMCMP 1 | ||
110 | #cmakedefine HAVE_WCSLEN 1 | ||
111 | #cmakedefine HAVE_WCSLCPY 1 | ||
112 | #cmakedefine HAVE_WCSLCAT 1 | ||
113 | #cmakedefine HAVE_WCSCMP 1 | ||
114 | #cmakedefine HAVE_STRLEN 1 | ||
115 | #cmakedefine HAVE_STRLCPY 1 | ||
116 | #cmakedefine HAVE_STRLCAT 1 | ||
117 | #cmakedefine HAVE_STRDUP 1 | ||
118 | #cmakedefine HAVE__STRREV 1 | ||
119 | #cmakedefine HAVE__STRUPR 1 | ||
120 | #cmakedefine HAVE__STRLWR 1 | ||
121 | #cmakedefine HAVE_INDEX 1 | ||
122 | #cmakedefine HAVE_RINDEX 1 | ||
123 | #cmakedefine HAVE_STRCHR 1 | ||
124 | #cmakedefine HAVE_STRRCHR 1 | ||
125 | #cmakedefine HAVE_STRSTR 1 | ||
126 | #cmakedefine HAVE_ITOA 1 | ||
127 | #cmakedefine HAVE__LTOA 1 | ||
128 | #cmakedefine HAVE__UITOA 1 | ||
129 | #cmakedefine HAVE__ULTOA 1 | ||
130 | #cmakedefine HAVE_STRTOL 1 | ||
131 | #cmakedefine HAVE_STRTOUL 1 | ||
132 | #cmakedefine HAVE__I64TOA 1 | ||
133 | #cmakedefine HAVE__UI64TOA 1 | ||
134 | #cmakedefine HAVE_STRTOLL 1 | ||
135 | #cmakedefine HAVE_STRTOULL 1 | ||
136 | #cmakedefine HAVE_STRTOD 1 | ||
137 | #cmakedefine HAVE_ATOI 1 | ||
138 | #cmakedefine HAVE_ATOF 1 | ||
139 | #cmakedefine HAVE_STRCMP 1 | ||
140 | #cmakedefine HAVE_STRNCMP 1 | ||
141 | #cmakedefine HAVE__STRICMP 1 | ||
142 | #cmakedefine HAVE_STRCASECMP 1 | ||
143 | #cmakedefine HAVE__STRNICMP 1 | ||
144 | #cmakedefine HAVE_STRNCASECMP 1 | ||
145 | #cmakedefine HAVE_VSSCANF 1 | ||
146 | #cmakedefine HAVE_VSNPRINTF 1 | ||
147 | #cmakedefine HAVE_M_PI 1 | ||
148 | #cmakedefine HAVE_ATAN 1 | ||
149 | #cmakedefine HAVE_ATAN2 1 | ||
150 | #cmakedefine HAVE_ACOS 1 | ||
151 | #cmakedefine HAVE_ASIN 1 | ||
152 | #cmakedefine HAVE_CEIL 1 | ||
153 | #cmakedefine HAVE_COPYSIGN 1 | ||
154 | #cmakedefine HAVE_COS 1 | ||
155 | #cmakedefine HAVE_COSF 1 | ||
156 | #cmakedefine HAVE_FABS 1 | ||
157 | #cmakedefine HAVE_FLOOR 1 | ||
158 | #cmakedefine HAVE_LOG 1 | ||
159 | #cmakedefine HAVE_POW 1 | ||
160 | #cmakedefine HAVE_SCALBN 1 | ||
161 | #cmakedefine HAVE_SIN 1 | ||
162 | #cmakedefine HAVE_SINF 1 | ||
163 | #cmakedefine HAVE_SQRT 1 | ||
164 | #cmakedefine HAVE_SQRTF 1 | ||
165 | #cmakedefine HAVE_TAN 1 | ||
166 | #cmakedefine HAVE_TANF 1 | ||
167 | #cmakedefine HAVE_FOPEN64 1 | ||
168 | #cmakedefine HAVE_FSEEKO 1 | ||
169 | #cmakedefine HAVE_FSEEKO64 1 | ||
170 | #cmakedefine HAVE_SIGACTION 1 | ||
171 | #cmakedefine HAVE_SA_SIGACTION 1 | ||
172 | #cmakedefine HAVE_SETJMP 1 | ||
173 | #cmakedefine HAVE_NANOSLEEP 1 | ||
174 | #cmakedefine HAVE_SYSCONF 1 | ||
175 | #cmakedefine HAVE_SYSCTLBYNAME 1 | ||
176 | #cmakedefine HAVE_CLOCK_GETTIME 1 | ||
177 | #cmakedefine HAVE_GETPAGESIZE 1 | ||
178 | #cmakedefine HAVE_MPROTECT 1 | ||
179 | #cmakedefine HAVE_ICONV 1 | ||
180 | #cmakedefine HAVE_PTHREAD_SETNAME_NP 1 | ||
181 | #cmakedefine HAVE_PTHREAD_SET_NAME_NP 1 | ||
182 | #cmakedefine HAVE_SEM_TIMEDWAIT 1 | ||
183 | #cmakedefine HAVE_GETAUXVAL 1 | ||
184 | #cmakedefine HAVE_POLL 1 | ||
185 | |||
186 | #elif __WIN32__ | ||
187 | #cmakedefine HAVE_STDARG_H 1 | ||
188 | #cmakedefine HAVE_STDDEF_H 1 | ||
189 | #else | ||
190 | /* We may need some replacement for stdarg.h here */ | ||
191 | #include <stdarg.h> | ||
192 | #endif /* HAVE_LIBC */ | ||
193 | |||
194 | /* SDL internal assertion support */ | ||
195 | #cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@ | ||
196 | |||
197 | /* Allow disabling of core subsystems */ | ||
198 | #cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@ | ||
199 | #cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@ | ||
200 | #cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@ | ||
201 | #cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@ | ||
202 | #cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@ | ||
203 | #cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@ | ||
204 | #cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@ | ||
205 | #cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@ | ||
206 | #cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@ | ||
207 | #cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@ | ||
208 | #cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@ | ||
209 | #cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@ | ||
210 | #cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@ | ||
211 | #cmakedefine SDL_FILESYSTEM_DISABLED @SDL_FILESYSTEM_DISABLED@ | ||
212 | |||
213 | /* Enable various audio drivers */ | ||
214 | #cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@ | ||
215 | #cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@ | ||
216 | #cmakedefine SDL_AUDIO_DRIVER_ANDROID @SDL_AUDIO_DRIVER_ANDROID@ | ||
217 | #cmakedefine SDL_AUDIO_DRIVER_ARTS @SDL_AUDIO_DRIVER_ARTS@ | ||
218 | #cmakedefine SDL_AUDIO_DRIVER_ARTS_DYNAMIC @SDL_AUDIO_DRIVER_ARTS_DYNAMIC@ | ||
219 | #cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@ | ||
220 | #cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@ | ||
221 | #cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@ | ||
222 | #cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@ | ||
223 | #cmakedefine SDL_AUDIO_DRIVER_EMSCRIPTEN @SDL_AUDIO_DRIVER_EMSCRIPTEN@ | ||
224 | #cmakedefine SDL_AUDIO_DRIVER_ESD @SDL_AUDIO_DRIVER_ESD@ | ||
225 | #cmakedefine SDL_AUDIO_DRIVER_ESD_DYNAMIC @SDL_AUDIO_DRIVER_ESD_DYNAMIC@ | ||
226 | #cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND @SDL_AUDIO_DRIVER_FUSIONSOUND@ | ||
227 | #cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC @SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC@ | ||
228 | #cmakedefine SDL_AUDIO_DRIVER_HAIKU @SDL_AUDIO_DRIVER_HAIKU@ | ||
229 | #cmakedefine SDL_AUDIO_DRIVER_JACK @SDL_AUDIO_DRIVER_JACK@ | ||
230 | #cmakedefine SDL_AUDIO_DRIVER_JACK_DYNAMIC @SDL_AUDIO_DRIVER_JACK_DYNAMIC@ | ||
231 | #cmakedefine SDL_AUDIO_DRIVER_NAS @SDL_AUDIO_DRIVER_NAS@ | ||
232 | #cmakedefine SDL_AUDIO_DRIVER_NAS_DYNAMIC @SDL_AUDIO_DRIVER_NAS_DYNAMIC@ | ||
233 | #cmakedefine SDL_AUDIO_DRIVER_NETBSD @SDL_AUDIO_DRIVER_NETBSD@ | ||
234 | #cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@ | ||
235 | #cmakedefine SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H @SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H@ | ||
236 | #cmakedefine SDL_AUDIO_DRIVER_PAUDIO @SDL_AUDIO_DRIVER_PAUDIO@ | ||
237 | #cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@ | ||
238 | #cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@ | ||
239 | #cmakedefine SDL_AUDIO_DRIVER_QSA @SDL_AUDIO_DRIVER_QSA@ | ||
240 | #cmakedefine SDL_AUDIO_DRIVER_SNDIO @SDL_AUDIO_DRIVER_SNDIO@ | ||
241 | #cmakedefine SDL_AUDIO_DRIVER_SNDIO_DYNAMIC @SDL_AUDIO_DRIVER_SNDIO_DYNAMIC@ | ||
242 | #cmakedefine SDL_AUDIO_DRIVER_SUNAUDIO @SDL_AUDIO_DRIVER_SUNAUDIO@ | ||
243 | #cmakedefine SDL_AUDIO_DRIVER_WASAPI @SDL_AUDIO_DRIVER_WASAPI@ | ||
244 | #cmakedefine SDL_AUDIO_DRIVER_WINMM @SDL_AUDIO_DRIVER_WINMM@ | ||
245 | #cmakedefine SDL_AUDIO_DRIVER_XAUDIO2 @SDL_AUDIO_DRIVER_XAUDIO2@ | ||
246 | |||
247 | /* Enable various input drivers */ | ||
248 | #cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@ | ||
249 | #cmakedefine SDL_INPUT_LINUXKD @SDL_INPUT_LINUXKD@ | ||
250 | #cmakedefine SDL_INPUT_TSLIB @SDL_INPUT_TSLIB@ | ||
251 | #cmakedefine SDL_JOYSTICK_ANDROID @SDL_JOYSTICK_ANDROID@ | ||
252 | #cmakedefine SDL_JOYSTICK_HAIKU @SDL_JOYSTICK_HAIKU@ | ||
253 | #cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@ | ||
254 | #cmakedefine SDL_JOYSTICK_XINPUT @SDL_JOYSTICK_XINPUT@ | ||
255 | #cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@ | ||
256 | #cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@ | ||
257 | #cmakedefine SDL_JOYSTICK_MFI @SDL_JOYSTICK_MFI@ | ||
258 | #cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@ | ||
259 | #cmakedefine SDL_JOYSTICK_WINMM @SDL_JOYSTICK_WINMM@ | ||
260 | #cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@ | ||
261 | #cmakedefine SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H @SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H@ | ||
262 | #cmakedefine SDL_JOYSTICK_EMSCRIPTEN @SDL_JOYSTICK_EMSCRIPTEN@ | ||
263 | #cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@ | ||
264 | #cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@ | ||
265 | #cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@ | ||
266 | #cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@ | ||
267 | #cmakedefine SDL_HAPTIC_XINPUT @SDL_HAPTIC_XINPUT@ | ||
268 | #cmakedefine SDL_HAPTIC_ANDROID @SDL_HAPTIC_ANDROID@ | ||
269 | |||
270 | /* Enable various shared object loading systems */ | ||
271 | #cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@ | ||
272 | #cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@ | ||
273 | #cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@ | ||
274 | #cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@ | ||
275 | |||
276 | /* Enable various threading systems */ | ||
277 | #cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@ | ||
278 | #cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@ | ||
279 | #cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@ | ||
280 | #cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@ | ||
281 | |||
282 | /* Enable various timer systems */ | ||
283 | #cmakedefine SDL_TIMER_HAIKU @SDL_TIMER_HAIKU@ | ||
284 | #cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@ | ||
285 | #cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@ | ||
286 | #cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@ | ||
287 | #cmakedefine SDL_TIMER_WINCE @SDL_TIMER_WINCE@ | ||
288 | |||
289 | /* Enable various video drivers */ | ||
290 | #cmakedefine SDL_VIDEO_DRIVER_ANDROID @SDL_VIDEO_DRIVER_ANDROID@ | ||
291 | #cmakedefine SDL_VIDEO_DRIVER_HAIKU @SDL_VIDEO_DRIVER_HAIKU@ | ||
292 | #cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@ | ||
293 | #cmakedefine SDL_VIDEO_DRIVER_DIRECTFB @SDL_VIDEO_DRIVER_DIRECTFB@ | ||
294 | #cmakedefine SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC @SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC@ | ||
295 | #cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@ | ||
296 | #cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@ | ||
297 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND @SDL_VIDEO_DRIVER_WAYLAND@ | ||
298 | #cmakedefine SDL_VIDEO_DRIVER_RPI @SDL_VIDEO_DRIVER_RPI@ | ||
299 | #cmakedefine SDL_VIDEO_DRIVER_VIVANTE @SDL_VIDEO_DRIVER_VIVANTE@ | ||
300 | #cmakedefine SDL_VIDEO_DRIVER_VIVANTE_VDK @SDL_VIDEO_DRIVER_VIVANTE_VDK@ | ||
301 | |||
302 | #cmakedefine SDL_VIDEO_DRIVER_KMSDRM @SDL_VIDEO_DRIVER_KMSDRM@ | ||
303 | #cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC@ | ||
304 | #cmakedefine SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM @SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM@ | ||
305 | |||
306 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH @SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH@ | ||
307 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC@ | ||
308 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL@ | ||
309 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR@ | ||
310 | #cmakedefine SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON@ | ||
311 | |||
312 | #cmakedefine SDL_VIDEO_DRIVER_MIR @SDL_VIDEO_DRIVER_MIR@ | ||
313 | #cmakedefine SDL_VIDEO_DRIVER_MIR_DYNAMIC @SDL_VIDEO_DRIVER_MIR_DYNAMIC@ | ||
314 | #cmakedefine SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON @SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON@ | ||
315 | #cmakedefine SDL_VIDEO_DRIVER_EMSCRIPTEN @SDL_VIDEO_DRIVER_EMSCRIPTEN@ | ||
316 | #cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@ | ||
317 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@ | ||
318 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@ | ||
319 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@ | ||
320 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA@ | ||
321 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@ | ||
322 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@ | ||
323 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@ | ||
324 | #cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE @SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE@ | ||
325 | #cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@ | ||
326 | #cmakedefine SDL_VIDEO_DRIVER_X11_XDBE @SDL_VIDEO_DRIVER_X11_XDBE@ | ||
327 | #cmakedefine SDL_VIDEO_DRIVER_X11_XINERAMA @SDL_VIDEO_DRIVER_X11_XINERAMA@ | ||
328 | #cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@ | ||
329 | #cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@ | ||
330 | #cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@ | ||
331 | #cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@ | ||
332 | #cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@ | ||
333 | #cmakedefine SDL_VIDEO_DRIVER_X11_XVIDMODE @SDL_VIDEO_DRIVER_X11_XVIDMODE@ | ||
334 | #cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@ | ||
335 | #cmakedefine SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY @SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY@ | ||
336 | #cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@ | ||
337 | |||
338 | #cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@ | ||
339 | #cmakedefine SDL_VIDEO_RENDER_D3D11 @SDL_VIDEO_RENDER_D3D11@ | ||
340 | #cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@ | ||
341 | #cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@ | ||
342 | #cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@ | ||
343 | #cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@ | ||
344 | |||
345 | /* Enable OpenGL support */ | ||
346 | #cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@ | ||
347 | #cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@ | ||
348 | #cmakedefine SDL_VIDEO_OPENGL_ES2 @SDL_VIDEO_OPENGL_ES2@ | ||
349 | #cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@ | ||
350 | #cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@ | ||
351 | #cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@ | ||
352 | #cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@ | ||
353 | #cmakedefine SDL_VIDEO_OPENGL_EGL @SDL_VIDEO_OPENGL_EGL@ | ||
354 | #cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@ | ||
355 | #cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@ | ||
356 | |||
357 | /* Enable Vulkan support */ | ||
358 | #cmakedefine SDL_VIDEO_VULKAN @SDL_VIDEO_VULKAN@ | ||
359 | |||
360 | /* Enable system power support */ | ||
361 | #cmakedefine SDL_POWER_ANDROID @SDL_POWER_ANDROID@ | ||
362 | #cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@ | ||
363 | #cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@ | ||
364 | #cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@ | ||
365 | #cmakedefine SDL_POWER_HAIKU @SDL_POWER_HAIKU@ | ||
366 | #cmakedefine SDL_POWER_EMSCRIPTEN @SDL_POWER_EMSCRIPTEN@ | ||
367 | #cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@ | ||
368 | |||
369 | /* Enable system filesystem support */ | ||
370 | #cmakedefine SDL_FILESYSTEM_ANDROID @SDL_FILESYSTEM_ANDROID@ | ||
371 | #cmakedefine SDL_FILESYSTEM_HAIKU @SDL_FILESYSTEM_HAIKU@ | ||
372 | #cmakedefine SDL_FILESYSTEM_COCOA @SDL_FILESYSTEM_COCOA@ | ||
373 | #cmakedefine SDL_FILESYSTEM_DUMMY @SDL_FILESYSTEM_DUMMY@ | ||
374 | #cmakedefine SDL_FILESYSTEM_UNIX @SDL_FILESYSTEM_UNIX@ | ||
375 | #cmakedefine SDL_FILESYSTEM_WINDOWS @SDL_FILESYSTEM_WINDOWS@ | ||
376 | #cmakedefine SDL_FILESYSTEM_EMSCRIPTEN @SDL_FILESYSTEM_EMSCRIPTEN@ | ||
377 | |||
378 | /* Enable assembly routines */ | ||
379 | #cmakedefine SDL_ASSEMBLY_ROUTINES @SDL_ASSEMBLY_ROUTINES@ | ||
380 | #cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@ | ||
381 | |||
382 | /* Enable dynamic libsamplerate support */ | ||
383 | #cmakedefine SDL_LIBSAMPLERATE_DYNAMIC @SDL_LIBSAMPLERATE_DYNAMIC@ | ||
384 | |||
385 | /* Platform specific definitions */ | ||
386 | #if !defined(__WIN32__) | ||
387 | # if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H) | ||
388 | typedef unsigned int size_t; | ||
389 | typedef signed char int8_t; | ||
390 | typedef unsigned char uint8_t; | ||
391 | typedef signed short int16_t; | ||
392 | typedef unsigned short uint16_t; | ||
393 | typedef signed int int32_t; | ||
394 | typedef unsigned int uint32_t; | ||
395 | typedef signed long long int64_t; | ||
396 | typedef unsigned long long uint64_t; | ||
397 | typedef unsigned long uintptr_t; | ||
398 | # endif /* if (stdint.h isn't available) */ | ||
399 | #else /* __WIN32__ */ | ||
400 | # if !defined(_STDINT_H_) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H) | ||
401 | # if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) | ||
402 | #define HAVE_STDINT_H 1 | ||
403 | # elif defined(_MSC_VER) | ||
404 | typedef signed __int8 int8_t; | ||
405 | typedef unsigned __int8 uint8_t; | ||
406 | typedef signed __int16 int16_t; | ||
407 | typedef unsigned __int16 uint16_t; | ||
408 | typedef signed __int32 int32_t; | ||
409 | typedef unsigned __int32 uint32_t; | ||
410 | typedef signed __int64 int64_t; | ||
411 | typedef unsigned __int64 uint64_t; | ||
412 | # ifndef _UINTPTR_T_DEFINED | ||
413 | # ifdef _WIN64 | ||
414 | typedef unsigned __int64 uintptr_t; | ||
415 | # else | ||
416 | typedef unsigned int uintptr_t; | ||
417 | # endif | ||
418 | #define _UINTPTR_T_DEFINED | ||
419 | # endif | ||
420 | /* Older Visual C++ headers don't have the Win64-compatible typedefs... */ | ||
421 | # if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR))) | ||
422 | #define DWORD_PTR DWORD | ||
423 | # endif | ||
424 | # if ((_MSC_VER <= 1200) && (!defined(LONG_PTR))) | ||
425 | #define LONG_PTR LONG | ||
426 | # endif | ||
427 | # else /* !__GNUC__ && !_MSC_VER */ | ||
428 | typedef signed char int8_t; | ||
429 | typedef unsigned char uint8_t; | ||
430 | typedef signed short int16_t; | ||
431 | typedef unsigned short uint16_t; | ||
432 | typedef signed int int32_t; | ||
433 | typedef unsigned int uint32_t; | ||
434 | typedef signed long long int64_t; | ||
435 | typedef unsigned long long uint64_t; | ||
436 | # ifndef _SIZE_T_DEFINED_ | ||
437 | #define _SIZE_T_DEFINED_ | ||
438 | typedef unsigned int size_t; | ||
439 | # endif | ||
440 | typedef unsigned int uintptr_t; | ||
441 | # endif /* __GNUC__ || _MSC_VER */ | ||
442 | # endif /* !_STDINT_H_ && !HAVE_STDINT_H */ | ||
443 | #endif /* __WIN32__ */ | ||
444 | |||
445 | #endif /* SDL_config_h_ */ | ||