include/SDL_config.h.cmake
changeset 6674 45a21e50ba5e
child 6734 7fdaee2be782
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/include/SDL_config.h.cmake	Fri Nov 16 09:23:18 2012 -0300
     1.3 @@ -0,0 +1,364 @@
     1.4 +/*
     1.5 +  Simple DirectMedia Layer
     1.6 +  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
     1.7 +
     1.8 +  This software is provided 'as-is', without any express or implied
     1.9 +  warranty.  In no event will the authors be held liable for any damages
    1.10 +  arising from the use of this software.
    1.11 +
    1.12 +  Permission is granted to anyone to use this software for any purpose,
    1.13 +  including commercial applications, and to alter it and redistribute it
    1.14 +  freely, subject to the following restrictions:
    1.15 +
    1.16 +  1. The origin of this software must not be misrepresented; you must not
    1.17 +     claim that you wrote the original software. If you use this software
    1.18 +     in a product, an acknowledgment in the product documentation would be
    1.19 +     appreciated but is not required.
    1.20 +  2. Altered source versions must be plainly marked as such, and must not be
    1.21 +     misrepresented as being the original software.
    1.22 +  3. This notice may not be removed or altered from any source distribution.
    1.23 +*/
    1.24 +
    1.25 +#ifndef _SDL_config_h
    1.26 +#define _SDL_config_h
    1.27 +
    1.28 +/**
    1.29 + *  \file SDL_config.h.in
    1.30 + *
    1.31 + *  This is a set of defines to configure the SDL features
    1.32 + */
    1.33 +
    1.34 +/* General platform specific identifiers */
    1.35 +#include "SDL_platform.h"
    1.36 +
    1.37 +/* C language features */
    1.38 +#cmakedefine const @HAVE_CONST@
    1.39 +#cmakedefine inline @HAVE_INLINE@
    1.40 +#cmakedefine volatile @HAVE_VOLATILE@
    1.41 +
    1.42 +/* C datatypes */
    1.43 +#cmakedefine SIZEOF_VOIDP @SIZEOF_VOIDP@
    1.44 +#cmakedefine HAVE_GCC_ATOMICS @HAVE_GCC_ATOMICS@
    1.45 +#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
    1.46 +#cmakedefine HAVE_PTHREAD_SPINLOCK @HAVE_PTHREAD_SPINLOCK@
    1.47 +
    1.48 +/* Comment this if you want to build without any C library requirements */
    1.49 +#cmakedefine HAVE_LIBC 1
    1.50 +#if HAVE_LIBC
    1.51 +
    1.52 +/* Useful headers */
    1.53 +#cmakedefine HAVE_ALLOCA_H 1
    1.54 +#cmakedefine HAVE_SYS_TYPES_H 1
    1.55 +#cmakedefine HAVE_STDIO_H 1
    1.56 +#cmakedefine STDC_HEADERS 1
    1.57 +#cmakedefine HAVE_STDLIB_H 1
    1.58 +#cmakedefine HAVE_STDARG_H 1
    1.59 +#cmakedefine HAVE_MALLOC_H 1
    1.60 +#cmakedefine HAVE_MEMORY_H 1
    1.61 +#cmakedefine HAVE_STRING_H 1
    1.62 +#cmakedefine HAVE_STRINGS_H 1
    1.63 +#cmakedefine HAVE_INTTYPES_H 1
    1.64 +#cmakedefine HAVE_STDINT_H 1
    1.65 +#cmakedefine HAVE_CTYPE_H 1
    1.66 +#cmakedefine HAVE_MATH_H 1
    1.67 +#cmakedefine HAVE_ICONV_H 1
    1.68 +#cmakedefine HAVE_SIGNAL_H 1
    1.69 +#cmakedefine HAVE_ALTIVEC_H 1
    1.70 +#cmakedefine HAVE_PTHREAD_NP_H 1
    1.71 +
    1.72 +/* C library functions */
    1.73 +#cmakedefine HAVE_MALLOC 1
    1.74 +#cmakedefine HAVE_CALLOC 1
    1.75 +#cmakedefine HAVE_REALLOC 1
    1.76 +#cmakedefine HAVE_FREE 1
    1.77 +#cmakedefine HAVE_ALLOCA 1
    1.78 +#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
    1.79 +#cmakedefine HAVE_GETENV 1
    1.80 +#cmakedefine HAVE_SETENV 1
    1.81 +#cmakedefine HAVE_PUTENV 1
    1.82 +#cmakedefine HAVE_UNSETENV 1
    1.83 +#endif
    1.84 +#cmakedefine HAVE_QSORT 1
    1.85 +#cmakedefine HAVE_ABS 1
    1.86 +#cmakedefine HAVE_BCOPY 1
    1.87 +#cmakedefine HAVE_MEMSET 1
    1.88 +#cmakedefine HAVE_MEMCPY 1
    1.89 +#cmakedefine HAVE_MEMMOVE 1
    1.90 +#cmakedefine HAVE_MEMCMP 1
    1.91 +#cmakedefine HAVE_STRLEN 1
    1.92 +#cmakedefine HAVE_STRLCPY 1
    1.93 +#cmakedefine HAVE_STRLCAT 1
    1.94 +#cmakedefine HAVE_STRDUP 1
    1.95 +#cmakedefine HAVE__STRREV 1
    1.96 +#cmakedefine HAVE__STRUPR 1
    1.97 +#cmakedefine HAVE__STRLWR 1
    1.98 +#cmakedefine HAVE_INDEX 1
    1.99 +#cmakedefine HAVE_RINDEX 1
   1.100 +#cmakedefine HAVE_STRCHR 1
   1.101 +#cmakedefine HAVE_STRRCHR 1
   1.102 +#cmakedefine HAVE_STRSTR 1
   1.103 +#cmakedefine HAVE_ITOA 1
   1.104 +#cmakedefine HAVE__LTOA 1
   1.105 +#cmakedefine HAVE__UITOA 1
   1.106 +#cmakedefine HAVE__ULTOA 1
   1.107 +#cmakedefine HAVE_STRTOL 1
   1.108 +#cmakedefine HAVE_STRTOUL 1
   1.109 +#cmakedefine HAVE__I64TOA 1
   1.110 +#cmakedefine HAVE__UI64TOA 1
   1.111 +#cmakedefine HAVE_STRTOLL 1
   1.112 +#cmakedefine HAVE_STRTOULL 1
   1.113 +#cmakedefine HAVE_STRTOD 1
   1.114 +#cmakedefine HAVE_ATOI 1
   1.115 +#cmakedefine HAVE_ATOF 1
   1.116 +#cmakedefine HAVE_STRCMP 1
   1.117 +#cmakedefine HAVE_STRNCMP 1
   1.118 +#cmakedefine HAVE__STRICMP 1
   1.119 +#cmakedefine HAVE_STRCASECMP 1
   1.120 +#cmakedefine HAVE__STRNICMP 1
   1.121 +#cmakedefine HAVE_STRNCASECMP 1
   1.122 +#cmakedefine HAVE_SSCANF 1
   1.123 +#cmakedefine HAVE_SNPRINTF 1
   1.124 +#cmakedefine HAVE_VSNPRINTF 1
   1.125 +#cmakedefine HAVE_M_PI 1
   1.126 +#cmakedefine HAVE_ATAN 1
   1.127 +#cmakedefine HAVE_ATAN2 1
   1.128 +#cmakedefine HAVE_CEIL 1
   1.129 +#cmakedefine HAVE_COPYSIGN 1
   1.130 +#cmakedefine HAVE_COS 1
   1.131 +#cmakedefine HAVE_COSF 1
   1.132 +#cmakedefine HAVE_FABS 1
   1.133 +#cmakedefine HAVE_FLOOR 1
   1.134 +#cmakedefine HAVE_LOG 1
   1.135 +#cmakedefine HAVE_POW 1
   1.136 +#cmakedefine HAVE_SCALBN 1
   1.137 +#cmakedefine HAVE_SIN 1
   1.138 +#cmakedefine HAVE_SINF 1
   1.139 +#cmakedefine HAVE_SQRT 1
   1.140 +#cmakedefine HAVE_FSEEKO 1
   1.141 +#cmakedefine HAVE_FSEEKO64 1
   1.142 +#cmakedefine HAVE_SIGACTION 1
   1.143 +#cmakedefine HAVE_SA_SIGACTION 1
   1.144 +#cmakedefine HAVE_SETJMP 1
   1.145 +#cmakedefine HAVE_NANOSLEEP 1
   1.146 +#cmakedefine HAVE_SYSCONF 1
   1.147 +#cmakedefine HAVE_SYSCTLBYNAME 1
   1.148 +#cmakedefine HAVE_CLOCK_GETTIME 1
   1.149 +#cmakedefine HAVE_GETPAGESIZE 1
   1.150 +#cmakedefine HAVE_MPROTECT 1
   1.151 +#cmakedefine HAVE_ICONV 1
   1.152 +#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
   1.153 +#cmakedefine HAVE_PTHREAD_SET_NAME_NP 1
   1.154 +#cmakedefine HAVE_SEM_TIMEDWAIT 1
   1.155 +#elif __WIN32__
   1.156 +#cmakedefine HAVE_STDARG_H 1
   1.157 +#cmakedefine HAVE_STDDEF_H 1
   1.158 +#else
   1.159 +/* We may need some replacement for stdarg.h here */
   1.160 +#include <stdarg.h>
   1.161 +#endif /* HAVE_LIBC */
   1.162 +
   1.163 +/* SDL internal assertion support */
   1.164 +#cmakedefine SDL_DEFAULT_ASSERT_LEVEL @SDL_DEFAULT_ASSERT_LEVEL@
   1.165 +
   1.166 +/* Allow disabling of core subsystems */
   1.167 +#cmakedefine SDL_ATOMIC_DISABLED @SDL_ATOMIC_DISABLED@
   1.168 +#cmakedefine SDL_AUDIO_DISABLED @SDL_AUDIO_DISABLED@
   1.169 +#cmakedefine SDL_CPUINFO_DISABLED @SDL_CPUINFO_DISABLED@
   1.170 +#cmakedefine SDL_EVENTS_DISABLED @SDL_EVENTS_DISABLED@
   1.171 +#cmakedefine SDL_FILE_DISABLED @SDL_FILE_DISABLED@
   1.172 +#cmakedefine SDL_JOYSTICK_DISABLED @SDL_JOYSTICK_DISABLED@
   1.173 +#cmakedefine SDL_HAPTIC_DISABLED @SDL_HAPTIC_DISABLED@
   1.174 +#cmakedefine SDL_LOADSO_DISABLED @SDL_LOADSO_DISABLED@
   1.175 +#cmakedefine SDL_RENDER_DISABLED @SDL_RENDER_DISABLED@
   1.176 +#cmakedefine SDL_THREADS_DISABLED @SDL_THREADS_DISABLED@
   1.177 +#cmakedefine SDL_TIMERS_DISABLED @SDL_TIMERS_DISABLED@
   1.178 +#cmakedefine SDL_VIDEO_DISABLED @SDL_VIDEO_DISABLED@
   1.179 +#cmakedefine SDL_POWER_DISABLED @SDL_POWER_DISABLED@
   1.180 +
   1.181 +/* Enable various audio drivers */
   1.182 +#cmakedefine SDL_AUDIO_DRIVER_ALSA @SDL_AUDIO_DRIVER_ALSA@
   1.183 +#cmakedefine SDL_AUDIO_DRIVER_ALSA_DYNAMIC @SDL_AUDIO_DRIVER_ALSA_DYNAMIC@
   1.184 +#cmakedefine SDL_AUDIO_DRIVER_ARTS @SDL_AUDIO_DRIVER_ARTS@
   1.185 +#cmakedefine SDL_AUDIO_DRIVER_ARTS_DYNAMIC @SDL_AUDIO_DRIVER_ARTS_DYNAMIC@
   1.186 +#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO @SDL_AUDIO_DRIVER_PULSEAUDIO@
   1.187 +#cmakedefine SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC @SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC@
   1.188 +#cmakedefine SDL_AUDIO_DRIVER_BEOSAUDIO @SDL_AUDIO_DRIVER_BEOSAUDIO@
   1.189 +#cmakedefine SDL_AUDIO_DRIVER_BSD @SDL_AUDIO_DRIVER_BSD@
   1.190 +#cmakedefine SDL_AUDIO_DRIVER_COREAUDIO @SDL_AUDIO_DRIVER_COREAUDIO@
   1.191 +#cmakedefine SDL_AUDIO_DRIVER_DISK @SDL_AUDIO_DRIVER_DISK@
   1.192 +#cmakedefine SDL_AUDIO_DRIVER_DUMMY @SDL_AUDIO_DRIVER_DUMMY@
   1.193 +#cmakedefine SDL_AUDIO_DRIVER_XAUDIO2 @SDL_AUDIO_DRIVER_XAUDIO2@
   1.194 +#cmakedefine SDL_AUDIO_DRIVER_DSOUND @SDL_AUDIO_DRIVER_DSOUND@
   1.195 +#cmakedefine SDL_AUDIO_DRIVER_ESD @SDL_AUDIO_DRIVER_ESD@
   1.196 +#cmakedefine SDL_AUDIO_DRIVER_ESD_DYNAMIC @SDL_AUDIO_DRIVER_ESD_DYNAMIC@
   1.197 +#cmakedefine SDL_AUDIO_DRIVER_NAS @SDL_AUDIO_DRIVER_NAS@
   1.198 +#cmakedefine SDL_AUDIO_DRIVER_NAS_DYNAMIC @SDL_AUDIO_DRIVER_NAS_DYNAMIC@
   1.199 +#cmakedefine SDL_AUDIO_DRIVER_NDS @SDL_AUDIO_DRIVER_NDS@
   1.200 +#cmakedefine SDL_AUDIO_DRIVER_OSS @SDL_AUDIO_DRIVER_OSS@
   1.201 +#cmakedefine SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H @SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H@
   1.202 +#cmakedefine SDL_AUDIO_DRIVER_PAUDIO @SDL_AUDIO_DRIVER_PAUDIO@
   1.203 +#cmakedefine SDL_AUDIO_DRIVER_QSA @SDL_AUDIO_DRIVER_QSA@
   1.204 +#cmakedefine SDL_AUDIO_DRIVER_SUNAUDIO @SDL_AUDIO_DRIVER_SUNAUDIO@
   1.205 +#cmakedefine SDL_AUDIO_DRIVER_WINMM @SDL_AUDIO_DRIVER_WINMM@
   1.206 +#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND @SDL_AUDIO_DRIVER_FUSIONSOUND@
   1.207 +#cmakedefine SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC @SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC@
   1.208 +
   1.209 +/* Enable various input drivers */
   1.210 +#cmakedefine SDL_INPUT_LINUXEV @SDL_INPUT_LINUXEV@
   1.211 +#cmakedefine SDL_INPUT_TSLIB @SDL_INPUT_TSLIB@
   1.212 +#cmakedefine SDL_JOYSTICK_BEOS @SDL_JOYSTICK_BEOS@
   1.213 +#cmakedefine SDL_JOYSTICK_DINPUT @SDL_JOYSTICK_DINPUT@
   1.214 +#cmakedefine SDL_JOYSTICK_DUMMY @SDL_JOYSTICK_DUMMY@
   1.215 +#cmakedefine SDL_JOYSTICK_IOKIT @SDL_JOYSTICK_IOKIT@
   1.216 +#cmakedefine SDL_JOYSTICK_LINUX @SDL_JOYSTICK_LINUX@
   1.217 +#cmakedefine SDL_JOYSTICK_NDS @SDL_JOYSTICK_NDS@
   1.218 +#cmakedefine SDL_JOYSTICK_WINMM @SDL_JOYSTICK_WINMM@
   1.219 +#cmakedefine SDL_JOYSTICK_USBHID @SDL_JOYSTICK_USBHID@
   1.220 +#cmakedefine SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H @SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H@
   1.221 +#cmakedefine SDL_HAPTIC_DUMMY @SDL_HAPTIC_DUMMY@
   1.222 +#cmakedefine SDL_HAPTIC_LINUX @SDL_HAPTIC_LINUX@
   1.223 +#cmakedefine SDL_HAPTIC_IOKIT @SDL_HAPTIC_IOKIT@
   1.224 +#cmakedefine SDL_HAPTIC_DINPUT @SDL_HAPTIC_DINPUT@
   1.225 +
   1.226 +/* Enable various shared object loading systems */
   1.227 +#cmakedefine SDL_LOADSO_BEOS @SDL_LOADSO_BEOS@
   1.228 +#cmakedefine SDL_LOADSO_DLOPEN @SDL_LOADSO_DLOPEN@
   1.229 +#cmakedefine SDL_LOADSO_DUMMY @SDL_LOADSO_DUMMY@
   1.230 +#cmakedefine SDL_LOADSO_LDG @SDL_LOADSO_LDG@
   1.231 +#cmakedefine SDL_LOADSO_WINDOWS @SDL_LOADSO_WINDOWS@
   1.232 +
   1.233 +/* Enable various threading systems */
   1.234 +#cmakedefine SDL_THREAD_BEOS @SDL_THREAD_BEOS@
   1.235 +#cmakedefine SDL_THREAD_NDS @SDL_THREAD_NDS@
   1.236 +#cmakedefine SDL_THREAD_PTHREAD @SDL_THREAD_PTHREAD@
   1.237 +#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX@
   1.238 +#cmakedefine SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP @SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP@
   1.239 +#cmakedefine SDL_THREAD_WINDOWS @SDL_THREAD_WINDOWS@
   1.240 +
   1.241 +/* Enable various timer systems */
   1.242 +#cmakedefine SDL_TIMER_BEOS @SDL_TIMER_BEOS@
   1.243 +#cmakedefine SDL_TIMER_DUMMY @SDL_TIMER_DUMMY@
   1.244 +#cmakedefine SDL_TIMER_NDS @SDL_TIMER_NDS@
   1.245 +#cmakedefine SDL_TIMER_UNIX @SDL_TIMER_UNIX@
   1.246 +#cmakedefine SDL_TIMER_WINDOWS @SDL_TIMER_WINDOWS@
   1.247 +#cmakedefine SDL_TIMER_WINCE @SDL_TIMER_WINCE@
   1.248 +
   1.249 +/* Enable various video drivers */
   1.250 +#cmakedefine SDL_VIDEO_DRIVER_BWINDOW @SDL_VIDEO_DRIVER_BWINDOW@
   1.251 +#cmakedefine SDL_VIDEO_DRIVER_COCOA @SDL_VIDEO_DRIVER_COCOA@
   1.252 +#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB @SDL_VIDEO_DRIVER_DIRECTFB@
   1.253 +#cmakedefine SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC @SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC@
   1.254 +#cmakedefine SDL_VIDEO_DRIVER_DUMMY @SDL_VIDEO_DRIVER_DUMMY@
   1.255 +#cmakedefine SDL_VIDEO_DRIVER_NDS @SDL_VIDEO_DRIVER_NDS@
   1.256 +#cmakedefine SDL_VIDEO_DRIVER_WINDOWS @SDL_VIDEO_DRIVER_WINDOWS@
   1.257 +#cmakedefine SDL_VIDEO_DRIVER_X11 @SDL_VIDEO_DRIVER_X11@
   1.258 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC @SDL_VIDEO_DRIVER_X11_DYNAMIC@
   1.259 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT @SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT@
   1.260 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR@
   1.261 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA@
   1.262 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 @SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2@
   1.263 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR @SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR@
   1.264 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS @SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS@
   1.265 +#cmakedefine SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE @SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE@
   1.266 +#cmakedefine SDL_VIDEO_DRIVER_X11_XCURSOR @SDL_VIDEO_DRIVER_X11_XCURSOR@
   1.267 +#cmakedefine SDL_VIDEO_DRIVER_X11_XINERAMA @SDL_VIDEO_DRIVER_X11_XINERAMA@
   1.268 +#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2 @SDL_VIDEO_DRIVER_X11_XINPUT2@
   1.269 +#cmakedefine SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH @SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH@
   1.270 +#cmakedefine SDL_VIDEO_DRIVER_X11_XRANDR @SDL_VIDEO_DRIVER_X11_XRANDR@
   1.271 +#cmakedefine SDL_VIDEO_DRIVER_X11_XSCRNSAVER @SDL_VIDEO_DRIVER_X11_XSCRNSAVER@
   1.272 +#cmakedefine SDL_VIDEO_DRIVER_X11_XSHAPE @SDL_VIDEO_DRIVER_X11_XSHAPE@
   1.273 +#cmakedefine SDL_VIDEO_DRIVER_X11_XVIDMODE @SDL_VIDEO_DRIVER_X11_XVIDMODE@
   1.274 +#cmakedefine SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS @SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS@
   1.275 +#cmakedefine SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY @SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY@
   1.276 +#cmakedefine SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM @SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM@
   1.277 +
   1.278 +#cmakedefine SDL_VIDEO_RENDER_D3D @SDL_VIDEO_RENDER_D3D@
   1.279 +#cmakedefine SDL_VIDEO_RENDER_OGL @SDL_VIDEO_RENDER_OGL@
   1.280 +#cmakedefine SDL_VIDEO_RENDER_OGL_ES @SDL_VIDEO_RENDER_OGL_ES@
   1.281 +#cmakedefine SDL_VIDEO_RENDER_OGL_ES2 @SDL_VIDEO_RENDER_OGL_ES2@
   1.282 +#cmakedefine SDL_VIDEO_RENDER_DIRECTFB @SDL_VIDEO_RENDER_DIRECTFB@
   1.283 +
   1.284 +/* Enable OpenGL support */
   1.285 +#cmakedefine SDL_VIDEO_OPENGL @SDL_VIDEO_OPENGL@
   1.286 +#cmakedefine SDL_VIDEO_OPENGL_ES @SDL_VIDEO_OPENGL_ES@
   1.287 +#cmakedefine SDL_VIDEO_OPENGL_BGL @SDL_VIDEO_OPENGL_BGL@
   1.288 +#cmakedefine SDL_VIDEO_OPENGL_CGL @SDL_VIDEO_OPENGL_CGL@
   1.289 +#cmakedefine SDL_VIDEO_OPENGL_GLX @SDL_VIDEO_OPENGL_GLX@
   1.290 +#cmakedefine SDL_VIDEO_OPENGL_WGL @SDL_VIDEO_OPENGL_WGL@
   1.291 +#cmakedefine SDL_VIDEO_OPENGL_OSMESA @SDL_VIDEO_OPENGL_OSMESA@
   1.292 +#cmakedefine SDL_VIDEO_OPENGL_OSMESA_DYNAMIC @SDL_VIDEO_OPENGL_OSMESA_DYNAMIC@
   1.293 +
   1.294 +/* Enable system power support */
   1.295 +#cmakedefine SDL_POWER_LINUX @SDL_POWER_LINUX@
   1.296 +#cmakedefine SDL_POWER_WINDOWS @SDL_POWER_WINDOWS@
   1.297 +#cmakedefine SDL_POWER_MACOSX @SDL_POWER_MACOSX@
   1.298 +#cmakedefine SDL_POWER_BEOS @SDL_POWER_BEOS@
   1.299 +#cmakedefine SDL_POWER_NINTENDODS @SDL_POWER_NINTENDODS@
   1.300 +#cmakedefine SDL_POWER_HARDWIRED @SDL_POWER_HARDWIRED@
   1.301 +
   1.302 +/* Enable assembly routines */
   1.303 +#cmakedefine SDL_ASSEMBLY_ROUTINES @SDL_ASSEMBLY_ROUTINES@
   1.304 +#cmakedefine SDL_ALTIVEC_BLITTERS @SDL_ALTIVEC_BLITTERS@
   1.305 +
   1.306 +
   1.307 +/* Platform specific definitions */
   1.308 +#if !defined(__WIN32__)
   1.309 +#  if !defined(_STDINT_H_) && !defined(_STDINT_H) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
   1.310 +typedef unsigned int size_t;
   1.311 +typedef signed char int8_t;
   1.312 +typedef unsigned char uint8_t;
   1.313 +typedef signed short int16_t;
   1.314 +typedef unsigned short uint16_t;
   1.315 +typedef signed int int32_t;
   1.316 +typedef unsigned int uint32_t;
   1.317 +typedef signed long long int64_t;
   1.318 +typedef unsigned long long uint64_t;
   1.319 +typedef unsigned long uintptr_t;
   1.320 +#  endif /* if (stdint.h isn't available) */
   1.321 +#else /* __WIN32__ */
   1.322 +#  if !defined(_STDINT_H_) && !defined(HAVE_STDINT_H) && !defined(_HAVE_STDINT_H)
   1.323 +#    if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__)
   1.324 +#define HAVE_STDINT_H	1
   1.325 +#    elif defined(_MSC_VER)
   1.326 +typedef signed __int8 int8_t;
   1.327 +typedef unsigned __int8 uint8_t;
   1.328 +typedef signed __int16 int16_t;
   1.329 +typedef unsigned __int16 uint16_t;
   1.330 +typedef signed __int32 int32_t;
   1.331 +typedef unsigned __int32 uint32_t;
   1.332 +typedef signed __int64 int64_t;
   1.333 +typedef unsigned __int64 uint64_t;
   1.334 +#      ifndef _UINTPTR_T_DEFINED
   1.335 +#        ifdef  _WIN64
   1.336 +typedef unsigned __int64 uintptr_t;
   1.337 +#          else
   1.338 +typedef unsigned int uintptr_t;
   1.339 +#        endif
   1.340 +#define _UINTPTR_T_DEFINED
   1.341 +#      endif
   1.342 +/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
   1.343 +#      if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
   1.344 +#define DWORD_PTR DWORD
   1.345 +#      endif
   1.346 +#      if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
   1.347 +#define LONG_PTR LONG
   1.348 +#      endif
   1.349 +#    else /* !__GNUC__ && !_MSC_VER */
   1.350 +typedef signed char int8_t;
   1.351 +typedef unsigned char uint8_t;
   1.352 +typedef signed short int16_t;
   1.353 +typedef unsigned short uint16_t;
   1.354 +typedef signed int int32_t;
   1.355 +typedef unsigned int uint32_t;
   1.356 +typedef signed long long int64_t;
   1.357 +typedef unsigned long long uint64_t;
   1.358 +#      ifndef _SIZE_T_DEFINED_
   1.359 +#define _SIZE_T_DEFINED_
   1.360 +typedef unsigned int size_t;
   1.361 +#      endif
   1.362 +typedef unsigned int uintptr_t;
   1.363 +#    endif /* __GNUC__ || _MSC_VER */
   1.364 +#  endif /* !_STDINT_H_ && !HAVE_STDINT_H */
   1.365 +#endif /* __WIN32__ */
   1.366 +
   1.367 +#endif /* _SDL_config_h */