include/SDL_config.h.in
author Sam Lantinga <slouken@libsdl.org>
Sat, 09 Sep 2017 08:36:37 -0700
changeset 11480 e7a79b236dc0
parent 11458 ab430a52b113
child 11610 6dea196ecbcb
permissions -rw-r--r--
Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek only supports 32 bits

Simon Hug

When RWops seeks with fseek or fseeko it uses the types long or off_t which can be 32 bits on some platforms. stdio_seek does not check if the 64-bit integer for the offset fits into a 32-bit integer. Offsets equal or larger than 2 GiB will have implementation-defined behavior and failure states would be very confusing to debug.

The attached patch adds range checking by using the macros from limits.h for long type and some bit shifting for off_t because POSIX couldn't be bothered to specify min and max macros.

It also defines HAVE_FSEEKI64 in SDL_config_windows.h so that the Windows function gets picked up automatically with the default config.

And there's an additional error message for when ftell fails.
slouken@1341
     1
/*
slouken@5535
     2
  Simple DirectMedia Layer
slouken@10737
     3
  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
slouken@1341
     4
slouken@5535
     5
  This software is provided 'as-is', without any express or implied
slouken@5535
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@5535
     7
  arising from the use of this software.
slouken@1341
     8
slouken@5535
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@5535
    10
  including commercial applications, and to alter it and redistribute it
slouken@5535
    11
  freely, subject to the following restrictions:
slouken@1341
    12
slouken@5535
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@5535
    14
     claim that you wrote the original software. If you use this software
slouken@5535
    15
     in a product, an acknowledgment in the product documentation would be
slouken@5535
    16
     appreciated but is not required.
slouken@5535
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@5535
    18
     misrepresented as being the original software.
slouken@5535
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@1341
    20
*/
slouken@1341
    21
slouken@10638
    22
#ifndef SDL_config_h_
slouken@10638
    23
#define SDL_config_h_
slouken@1341
    24
slouken@3407
    25
/**
slouken@3407
    26
 *  \file SDL_config.h.in
slouken@3407
    27
 *
slouken@3407
    28
 *  This is a set of defines to configure the SDL features
slouken@3407
    29
 */
slouken@1341
    30
slouken@1402
    31
/* General platform specific identifiers */
slouken@1402
    32
#include "SDL_platform.h"
slouken@1402
    33
slouken@2175
    34
/* Make sure that this isn't included by Visual C++ */
slouken@2175
    35
#ifdef _MSC_VER
slouken@5389
    36
#error You should run hg revert SDL_config.h 
slouken@2175
    37
#endif
slouken@2175
    38
slouken@1353
    39
/* C language features */
slouken@1353
    40
#undef const
slouken@1353
    41
#undef inline
slouken@1353
    42
#undef volatile
slouken@1352
    43
slouken@1353
    44
/* C datatypes */
azamat@7414
    45
#ifdef __LP64__
slouken@7415
    46
#define SIZEOF_VOIDP 8
azamat@7414
    47
#else
slouken@7415
    48
#define SIZEOF_VOIDP 4
azamat@7414
    49
#endif
slouken@5004
    50
#undef HAVE_GCC_ATOMICS
slouken@5069
    51
#undef HAVE_GCC_SYNC_LOCK_TEST_AND_SET
slouken@1353
    52
slouken@1353
    53
/* Comment this if you want to build without any C library requirements */
slouken@1341
    54
#undef HAVE_LIBC
slouken@1402
    55
#if HAVE_LIBC
slouken@1341
    56
slouken@1353
    57
/* Useful headers */
slouken@11480
    58
#undef STDC_HEADERS
slouken@1367
    59
#undef HAVE_ALLOCA_H
slouken@1352
    60
#undef HAVE_CTYPE_H
slouken@11457
    61
#undef HAVE_FLOAT_H
slouken@1501
    62
#undef HAVE_ICONV_H
slouken@11480
    63
#undef HAVE_INTTYPES_H
slouken@11480
    64
#undef HAVE_LIMITS_H
slouken@11480
    65
#undef HAVE_MALLOC_H
slouken@11480
    66
#undef HAVE_MATH_H
slouken@11480
    67
#undef HAVE_MEMORY_H
slouken@1352
    68
#undef HAVE_SIGNAL_H
slouken@11480
    69
#undef HAVE_STDARG_H
slouken@11480
    70
#undef HAVE_STDINT_H
slouken@11480
    71
#undef HAVE_STDIO_H
slouken@11480
    72
#undef HAVE_STDLIB_H
slouken@11480
    73
#undef HAVE_STRINGS_H
slouken@11480
    74
#undef HAVE_STRING_H
slouken@11480
    75
#undef HAVE_SYS_TYPES_H
slouken@11480
    76
#undef HAVE_WCHAR_H
icculus@5969
    77
#undef HAVE_PTHREAD_NP_H
slouken@1341
    78
slouken@1353
    79
/* C library functions */
slouken@1352
    80
#undef HAVE_MALLOC
slouken@1352
    81
#undef HAVE_CALLOC
slouken@1352
    82
#undef HAVE_REALLOC
slouken@1352
    83
#undef HAVE_FREE
slouken@1352
    84
#undef HAVE_ALLOCA
slouken@5093
    85
#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
slouken@1352
    86
#undef HAVE_GETENV
icculus@3581
    87
#undef HAVE_SETENV
slouken@1352
    88
#undef HAVE_PUTENV
slouken@1352
    89
#undef HAVE_UNSETENV
slouken@1352
    90
#endif
slouken@1352
    91
#undef HAVE_QSORT
slouken@1341
    92
#undef HAVE_ABS
slouken@1353
    93
#undef HAVE_BCOPY
slouken@1352
    94
#undef HAVE_MEMSET
slouken@1352
    95
#undef HAVE_MEMCPY
slouken@1352
    96
#undef HAVE_MEMMOVE
slouken@1352
    97
#undef HAVE_MEMCMP
slouken@11265
    98
#undef HAVE_WCSLEN
slouken@11265
    99
#undef HAVE_WCSLCPY
slouken@11265
   100
#undef HAVE_WCSLCAT
slouken@11265
   101
#undef HAVE_WCSCMP
slouken@1352
   102
#undef HAVE_STRLEN
slouken@1379
   103
#undef HAVE_STRLCPY
slouken@1379
   104
#undef HAVE_STRLCAT
slouken@1352
   105
#undef HAVE_STRDUP
slouken@1352
   106
#undef HAVE__STRREV
slouken@1352
   107
#undef HAVE__STRUPR
slouken@1352
   108
#undef HAVE__STRLWR
slouken@1353
   109
#undef HAVE_INDEX
slouken@1353
   110
#undef HAVE_RINDEX
slouken@1352
   111
#undef HAVE_STRCHR
slouken@1352
   112
#undef HAVE_STRRCHR
slouken@1352
   113
#undef HAVE_STRSTR
slouken@1352
   114
#undef HAVE_ITOA
slouken@1352
   115
#undef HAVE__LTOA
slouken@1352
   116
#undef HAVE__UITOA
slouken@1352
   117
#undef HAVE__ULTOA
slouken@1352
   118
#undef HAVE_STRTOL
slouken@1461
   119
#undef HAVE_STRTOUL
slouken@1352
   120
#undef HAVE__I64TOA
slouken@1352
   121
#undef HAVE__UI64TOA
slouken@1352
   122
#undef HAVE_STRTOLL
slouken@1461
   123
#undef HAVE_STRTOULL
slouken@1352
   124
#undef HAVE_STRTOD
slouken@1352
   125
#undef HAVE_ATOI
slouken@1341
   126
#undef HAVE_ATOF
slouken@1352
   127
#undef HAVE_STRCMP
slouken@1352
   128
#undef HAVE_STRNCMP
slouken@1510
   129
#undef HAVE__STRICMP
slouken@1352
   130
#undef HAVE_STRCASECMP
slouken@1512
   131
#undef HAVE__STRNICMP
slouken@1501
   132
#undef HAVE_STRNCASECMP
slouken@1352
   133
#undef HAVE_SSCANF
icculus@8089
   134
#undef HAVE_VSSCANF
slouken@1341
   135
#undef HAVE_SNPRINTF
slouken@1341
   136
#undef HAVE_VSNPRINTF
slouken@3012
   137
#undef HAVE_M_PI
slouken@4873
   138
#undef HAVE_ATAN
slouken@4870
   139
#undef HAVE_ATAN2
icculus@8056
   140
#undef HAVE_ACOS
icculus@8056
   141
#undef HAVE_ASIN
slouken@3032
   142
#undef HAVE_CEIL
slouken@3012
   143
#undef HAVE_COPYSIGN
slouken@3012
   144
#undef HAVE_COS
slouken@3012
   145
#undef HAVE_COSF
slouken@3012
   146
#undef HAVE_FABS
slouken@3012
   147
#undef HAVE_FLOOR
slouken@3012
   148
#undef HAVE_LOG
slouken@3012
   149
#undef HAVE_POW
slouken@3012
   150
#undef HAVE_SCALBN
slouken@3012
   151
#undef HAVE_SIN
slouken@3012
   152
#undef HAVE_SINF
slouken@3012
   153
#undef HAVE_SQRT
slouken@8840
   154
#undef HAVE_SQRTF
slouken@8840
   155
#undef HAVE_TAN
slouken@8840
   156
#undef HAVE_TANF
slouken@11230
   157
#undef HAVE_FOPEN64
slouken@6642
   158
#undef HAVE_FSEEKO
slouken@6642
   159
#undef HAVE_FSEEKO64
slouken@1361
   160
#undef HAVE_SIGACTION
icculus@5577
   161
#undef HAVE_SA_SIGACTION
slouken@1361
   162
#undef HAVE_SETJMP
slouken@1361
   163
#undef HAVE_NANOSLEEP
slouken@3586
   164
#undef HAVE_SYSCONF
slouken@3579
   165
#undef HAVE_SYSCTLBYNAME
slouken@1361
   166
#undef HAVE_CLOCK_GETTIME
icculus@2093
   167
#undef HAVE_GETPAGESIZE
slouken@3405
   168
#undef HAVE_MPROTECT
slouken@5041
   169
#undef HAVE_ICONV
icculus@5969
   170
#undef HAVE_PTHREAD_SETNAME_NP
icculus@5969
   171
#undef HAVE_PTHREAD_SET_NAME_NP
slouken@6219
   172
#undef HAVE_SEM_TIMEDWAIT
icculus@10620
   173
#undef HAVE_GETAUXVAL
slouken@11296
   174
#undef HAVE_POLL
slouken@1341
   175
slouken@1361
   176
#else
slouken@7307
   177
#define HAVE_STDARG_H   1
slouken@7307
   178
#define HAVE_STDDEF_H   1
slouken@7307
   179
#define HAVE_STDINT_H   1
slouken@1341
   180
#endif /* HAVE_LIBC */
slouken@1341
   181
slouken@11458
   182
#undef HAVE_ALTIVEC_H
slouken@11458
   183
#undef HAVE_LIBUDEV_H
slouken@11458
   184
#undef HAVE_DBUS_DBUS_H
slouken@11458
   185
#undef HAVE_IBUS_IBUS_H
slouken@11458
   186
#undef HAVE_FCITX_FRONTEND_H
slouken@11458
   187
#undef HAVE_LIBSAMPLERATE_H
slouken@11458
   188
slouken@11458
   189
#undef HAVE_DDRAW_H
slouken@11458
   190
#undef HAVE_DINPUT_H
slouken@11458
   191
#undef HAVE_DSOUND_H
slouken@11458
   192
#undef HAVE_DXGI_H
slouken@11458
   193
#undef HAVE_XINPUT_H
slouken@11458
   194
#undef HAVE_XINPUT_GAMEPAD_EX
slouken@11458
   195
#undef HAVE_XINPUT_STATE_EX
slouken@11458
   196
slouken@3647
   197
/* SDL internal assertion support */
slouken@3649
   198
#undef SDL_DEFAULT_ASSERT_LEVEL
slouken@3647
   199
slouken@1353
   200
/* Allow disabling of core subsystems */
slouken@5225
   201
#undef SDL_ATOMIC_DISABLED
slouken@1361
   202
#undef SDL_AUDIO_DISABLED
slouken@1361
   203
#undef SDL_CPUINFO_DISABLED
slouken@1361
   204
#undef SDL_EVENTS_DISABLED
slouken@1361
   205
#undef SDL_FILE_DISABLED
slouken@1361
   206
#undef SDL_JOYSTICK_DISABLED
slouken@2713
   207
#undef SDL_HAPTIC_DISABLED
slouken@1361
   208
#undef SDL_LOADSO_DISABLED
slouken@5226
   209
#undef SDL_RENDER_DISABLED
slouken@1361
   210
#undef SDL_THREADS_DISABLED
slouken@1361
   211
#undef SDL_TIMERS_DISABLED
slouken@1361
   212
#undef SDL_VIDEO_DISABLED
icculus@3170
   213
#undef SDL_POWER_DISABLED
icculus@7667
   214
#undef SDL_FILESYSTEM_DISABLED
slouken@1361
   215
slouken@1361
   216
/* Enable various audio drivers */
slouken@1361
   217
#undef SDL_AUDIO_DRIVER_ALSA
slouken@1361
   218
#undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
slouken@11325
   219
#undef SDL_AUDIO_DRIVER_ANDROID
slouken@11325
   220
#undef SDL_AUDIO_DRIVER_ARTS
slouken@11325
   221
#undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
slouken@11325
   222
#undef SDL_AUDIO_DRIVER_COREAUDIO
slouken@11325
   223
#undef SDL_AUDIO_DRIVER_DISK
slouken@11325
   224
#undef SDL_AUDIO_DRIVER_DSOUND
slouken@11325
   225
#undef SDL_AUDIO_DRIVER_DUMMY
slouken@11325
   226
#undef SDL_AUDIO_DRIVER_EMSCRIPTEN
slouken@11325
   227
#undef SDL_AUDIO_DRIVER_ESD
slouken@11325
   228
#undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
slouken@11325
   229
#undef SDL_AUDIO_DRIVER_FUSIONSOUND
slouken@11325
   230
#undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
slouken@11325
   231
#undef SDL_AUDIO_DRIVER_HAIKU
icculus@11081
   232
#undef SDL_AUDIO_DRIVER_JACK
icculus@11081
   233
#undef SDL_AUDIO_DRIVER_JACK_DYNAMIC
gabomdq@8833
   234
#undef SDL_AUDIO_DRIVER_NACL
slouken@1361
   235
#undef SDL_AUDIO_DRIVER_NAS
icculus@2049
   236
#undef SDL_AUDIO_DRIVER_NAS_DYNAMIC
slouken@11325
   237
#undef SDL_AUDIO_DRIVER_NETBSD
slouken@1361
   238
#undef SDL_AUDIO_DRIVER_OSS
slouken@1361
   239
#undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
icculus@2049
   240
#undef SDL_AUDIO_DRIVER_PAUDIO
slouken@11325
   241
#undef SDL_AUDIO_DRIVER_PULSEAUDIO
slouken@11325
   242
#undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
slouken@3099
   243
#undef SDL_AUDIO_DRIVER_QSA
slouken@11325
   244
#undef SDL_AUDIO_DRIVER_SNDIO
slouken@11325
   245
#undef SDL_AUDIO_DRIVER_SNDIO_DYNAMIC
slouken@1361
   246
#undef SDL_AUDIO_DRIVER_SUNAUDIO
slouken@11325
   247
#undef SDL_AUDIO_DRIVER_WASAPI
icculus@5588
   248
#undef SDL_AUDIO_DRIVER_WINMM
slouken@11325
   249
#undef SDL_AUDIO_DRIVER_XAUDIO2
slouken@1361
   250
slouken@1361
   251
/* Enable various input drivers */
icculus@2276
   252
#undef SDL_INPUT_LINUXEV
gabomdq@7778
   253
#undef SDL_INPUT_LINUXKD
slouken@1361
   254
#undef SDL_INPUT_TSLIB
icculus@7981
   255
#undef SDL_JOYSTICK_HAIKU
slouken@1895
   256
#undef SDL_JOYSTICK_DINPUT
slouken@8972
   257
#undef SDL_JOYSTICK_XINPUT
slouken@1361
   258
#undef SDL_JOYSTICK_DUMMY
slouken@1361
   259
#undef SDL_JOYSTICK_IOKIT
slouken@1361
   260
#undef SDL_JOYSTICK_LINUX
dimitris@8714
   261
#undef SDL_JOYSTICK_ANDROID
slouken@1361
   262
#undef SDL_JOYSTICK_WINMM
slouken@1361
   263
#undef SDL_JOYSTICK_USBHID
slouken@1565
   264
#undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
icculus@9278
   265
#undef SDL_JOYSTICK_EMSCRIPTEN
slouken@2713
   266
#undef SDL_HAPTIC_DUMMY
slouken@2713
   267
#undef SDL_HAPTIC_LINUX
slouken@2713
   268
#undef SDL_HAPTIC_IOKIT
slouken@2713
   269
#undef SDL_HAPTIC_DINPUT
slouken@8972
   270
#undef SDL_HAPTIC_XINPUT
slouken@1361
   271
slouken@1361
   272
/* Enable various shared object loading systems */
slouken@1361
   273
#undef SDL_LOADSO_DLOPEN
slouken@1635
   274
#undef SDL_LOADSO_DUMMY
slouken@1361
   275
#undef SDL_LOADSO_LDG
slouken@5062
   276
#undef SDL_LOADSO_WINDOWS
slouken@1361
   277
slouken@1361
   278
/* Enable various threading systems */
slouken@1361
   279
#undef SDL_THREAD_PTHREAD
slouken@1361
   280
#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
slouken@1361
   281
#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
slouken@5062
   282
#undef SDL_THREAD_WINDOWS
slouken@1361
   283
slouken@1361
   284
/* Enable various timer systems */
icculus@7981
   285
#undef SDL_TIMER_HAIKU
slouken@1635
   286
#undef SDL_TIMER_DUMMY
slouken@1361
   287
#undef SDL_TIMER_UNIX
slouken@5062
   288
#undef SDL_TIMER_WINDOWS
slouken@1361
   289
slouken@1361
   290
/* Enable various video drivers */
icculus@7981
   291
#undef SDL_VIDEO_DRIVER_HAIKU
slouken@1931
   292
#undef SDL_VIDEO_DRIVER_COCOA
slouken@1361
   293
#undef SDL_VIDEO_DRIVER_DIRECTFB
slouken@2998
   294
#undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC
slouken@1361
   295
#undef SDL_VIDEO_DRIVER_DUMMY
slouken@5062
   296
#undef SDL_VIDEO_DRIVER_WINDOWS
gabomdq@8062
   297
#undef SDL_VIDEO_DRIVER_WAYLAND
gabomdq@8082
   298
#undef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
gabomdq@8104
   299
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
gabomdq@8104
   300
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL
gabomdq@8104
   301
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR
gabomdq@8104
   302
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON
icculus@8153
   303
#undef SDL_VIDEO_DRIVER_MIR
icculus@8159
   304
#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC
icculus@8159
   305
#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON
slouken@1361
   306
#undef SDL_VIDEO_DRIVER_X11
gabomdq@7753
   307
#undef SDL_VIDEO_DRIVER_RPI
slouken@11175
   308
#undef SDL_VIDEO_DRIVER_KMSDRM
slouken@11175
   309
#undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC
slouken@11175
   310
#undef SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM
dimitris@8714
   311
#undef SDL_VIDEO_DRIVER_ANDROID
icculus@9278
   312
#undef SDL_VIDEO_DRIVER_EMSCRIPTEN
slouken@1361
   313
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
slouken@1361
   314
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
slouken@5471
   315
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
slouken@5408
   316
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
slouken@6311
   317
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
icculus@1589
   318
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
slouken@3025
   319
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
slouken@5408
   320
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
slouken@5471
   321
#undef SDL_VIDEO_DRIVER_X11_XCURSOR
icculus@9657
   322
#undef SDL_VIDEO_DRIVER_X11_XDBE
slouken@1361
   323
#undef SDL_VIDEO_DRIVER_X11_XINERAMA
slouken@6311
   324
#undef SDL_VIDEO_DRIVER_X11_XINPUT2
dimitris@6316
   325
#undef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
icculus@1589
   326
#undef SDL_VIDEO_DRIVER_X11_XRANDR
slouken@5408
   327
#undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
icculus@4793
   328
#undef SDL_VIDEO_DRIVER_X11_XSHAPE
slouken@5408
   329
#undef SDL_VIDEO_DRIVER_X11_XVIDMODE
slouken@6311
   330
#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
slouken@6313
   331
#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
dimitris@6318
   332
#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
gabomdq@8833
   333
#undef SDL_VIDEO_DRIVER_NACL
slouken@9164
   334
#undef SDL_VIDEO_DRIVER_VIVANTE
slouken@9164
   335
#undef SDL_VIDEO_DRIVER_VIVANTE_VDK
icculus@11119
   336
#undef SDL_VIDEO_DRIVER_QNX
slouken@1361
   337
slouken@1895
   338
#undef SDL_VIDEO_RENDER_D3D
slouken@8591
   339
#undef SDL_VIDEO_RENDER_D3D11
slouken@1895
   340
#undef SDL_VIDEO_RENDER_OGL
slouken@3087
   341
#undef SDL_VIDEO_RENDER_OGL_ES
slouken@6188
   342
#undef SDL_VIDEO_RENDER_OGL_ES2
slouken@5199
   343
#undef SDL_VIDEO_RENDER_DIRECTFB
slouken@1895
   344
slouken@1361
   345
/* Enable OpenGL support */
slouken@1361
   346
#undef SDL_VIDEO_OPENGL
slouken@3087
   347
#undef SDL_VIDEO_OPENGL_ES
icculus@7688
   348
#undef SDL_VIDEO_OPENGL_ES2
slouken@1952
   349
#undef SDL_VIDEO_OPENGL_BGL
slouken@1952
   350
#undef SDL_VIDEO_OPENGL_CGL
gabomdq@7659
   351
#undef SDL_VIDEO_OPENGL_EGL
slouken@1361
   352
#undef SDL_VIDEO_OPENGL_GLX
slouken@1361
   353
#undef SDL_VIDEO_OPENGL_WGL
slouken@1361
   354
#undef SDL_VIDEO_OPENGL_OSMESA
slouken@1361
   355
#undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC
slouken@1361
   356
slouken@11381
   357
/* Enable Vulkan support */
slouken@11381
   358
#undef SDL_VIDEO_VULKAN
icculus@11365
   359
icculus@3170
   360
/* Enable system power support */
icculus@3170
   361
#undef SDL_POWER_LINUX
icculus@3170
   362
#undef SDL_POWER_WINDOWS
icculus@3170
   363
#undef SDL_POWER_MACOSX
icculus@7981
   364
#undef SDL_POWER_HAIKU
dimitris@8714
   365
#undef SDL_POWER_ANDROID
icculus@9278
   366
#undef SDL_POWER_EMSCRIPTEN
icculus@3170
   367
#undef SDL_POWER_HARDWIRED
icculus@3170
   368
icculus@7667
   369
/* Enable system filesystem support */
icculus@7981
   370
#undef SDL_FILESYSTEM_HAIKU
icculus@7667
   371
#undef SDL_FILESYSTEM_COCOA
icculus@7667
   372
#undef SDL_FILESYSTEM_DUMMY
icculus@7667
   373
#undef SDL_FILESYSTEM_UNIX
icculus@7667
   374
#undef SDL_FILESYSTEM_WINDOWS
gabomdq@8851
   375
#undef SDL_FILESYSTEM_NACL
philipp@9315
   376
#undef SDL_FILESYSTEM_ANDROID
icculus@9278
   377
#undef SDL_FILESYSTEM_EMSCRIPTEN
icculus@7667
   378
slouken@1402
   379
/* Enable assembly routines */
slouken@1402
   380
#undef SDL_ASSEMBLY_ROUTINES
slouken@5389
   381
#undef SDL_ALTIVEC_BLITTERS
slouken@1353
   382
slouken@10496
   383
/* Enable ime support */
slouken@10496
   384
#undef SDL_USE_IME
slouken@10496
   385
slouken@10660
   386
/* Enable dynamic udev support */
slouken@10660
   387
#undef SDL_UDEV_DYNAMIC
slouken@10660
   388
slouken@10777
   389
/* Enable dynamic libsamplerate support */
slouken@10777
   390
#undef SDL_LIBSAMPLERATE_DYNAMIC
slouken@10777
   391
slouken@10638
   392
#endif /* SDL_config_h_ */