include/SDL_config.h.in
author David Ludwig <dludwig@pobox.com>
Sat, 29 Nov 2014 10:09:30 -0500
changeset 9247 eddb899239fe
parent 9164 494876610c49
child 9278 8900afb78a19
permissions -rw-r--r--
WinRT: bug and data-integrity fixes for SDL_GetPrefPath()

This change does a few things, all with regards to the WinRT implementation of
SDL_GetPrefPath():

1. it fixes a bug whereby SDL_GetPrefPath() did not create the directory it
returned. On other SDL platforms, SDL_GetPrefPath() will create separate
directories for its 'org' and 'app' folders. Without this, attempts to create
files in the pref-path would fail, unless those directories were first created
by the app, or by some other library the app used. This change makes sure
that these directories get created, before SDL_GetPrefPath() returns to its
caller(s).


2. it defaults to having SDL_GetPrefPath() return a WinRT 'Local' folder
on all platforms. Previously, for Windows Store apps, it would have used a
different, 'Roaming' folder. Files in Roaming folders can be automatically,
and synchronized across multiple devices by Windows. This synchronization can
happen while the app runs, with new files being copied into a running app's
pref-path. Unless an app is specifically designed to handle this scenario,
there is a chance that save-data could be overwritten in unwanted or
unexpected ways.

The default is now to use a Local folder, which does not get synchronized, and
which is arguably a bit safer to use. Apps that wish to use Roaming folders
can do so by setting SDL_HINT_WINRT_PREF_PATH_ROOT to "roaming", however it
is recommended that one first read Microsoft's documentation for Roaming
files, a link to which is provided in README-winrt.md.

To preserve older pref-path selection behavior (found in SDL 2.0.3, as well as
many pre-2.0.4 versions of SDL from hg.libsdl.org), which uses a Roaming path
in Windows Store apps, and a Local path in Windows Phone, set
SDL_HINT_WINRT_PREF_PATH_ROOT to "old".

Please note that Roaming paths are not supported on Windows Phone 8.0, due to
limitations in the OS itself. Attempts to use this will fail.
(Windows Phone 8.1 does not have this limitation, however.)


3. It makes SDL_GetPrefPath(), when on Windows Phone 8.0, and when
SDL_HINT_WINRT_PREF_PATH_ROOT is set to "roaming", return NULL, rather than
silently defaulting to a Local path (then switching to a Roaming path if and
when the user upgraded to Windows Phone 8.1).
slouken@1341
     1
/*
slouken@5535
     2
  Simple DirectMedia Layer
slouken@8149
     3
  Copyright (C) 1997-2014 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@6235
    22
#ifndef _SDL_config_h
slouken@6235
    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@8972
    53
#undef HAVE_DDRAW_H
slouken@8972
    54
#undef HAVE_DINPUT_H
slouken@8972
    55
#undef HAVE_DSOUND_H
icculus@8751
    56
#undef HAVE_DXGI_H
slouken@8972
    57
#undef HAVE_XINPUT_H
icculus@8751
    58
slouken@1353
    59
/* Comment this if you want to build without any C library requirements */
slouken@1341
    60
#undef HAVE_LIBC
slouken@1402
    61
#if HAVE_LIBC
slouken@1341
    62
slouken@1353
    63
/* Useful headers */
slouken@1367
    64
#undef HAVE_ALLOCA_H
slouken@1353
    65
#undef HAVE_SYS_TYPES_H
slouken@1352
    66
#undef HAVE_STDIO_H
slouken@1353
    67
#undef STDC_HEADERS
slouken@1352
    68
#undef HAVE_STDLIB_H
slouken@1353
    69
#undef HAVE_STDARG_H
slouken@1352
    70
#undef HAVE_MALLOC_H
slouken@1353
    71
#undef HAVE_MEMORY_H
slouken@1352
    72
#undef HAVE_STRING_H
slouken@1353
    73
#undef HAVE_STRINGS_H
slouken@1353
    74
#undef HAVE_INTTYPES_H
slouken@1353
    75
#undef HAVE_STDINT_H
slouken@1352
    76
#undef HAVE_CTYPE_H
slouken@1361
    77
#undef HAVE_MATH_H
slouken@1501
    78
#undef HAVE_ICONV_H
slouken@1352
    79
#undef HAVE_SIGNAL_H
slouken@5389
    80
#undef HAVE_ALTIVEC_H
icculus@5969
    81
#undef HAVE_PTHREAD_NP_H
icculus@6734
    82
#undef HAVE_LIBUDEV_H
icculus@6774
    83
#undef HAVE_DBUS_DBUS_H
alex@8889
    84
#undef HAVE_IBUS_IBUS_H
slouken@1341
    85
slouken@1353
    86
/* C library functions */
slouken@1352
    87
#undef HAVE_MALLOC
slouken@1352
    88
#undef HAVE_CALLOC
slouken@1352
    89
#undef HAVE_REALLOC
slouken@1352
    90
#undef HAVE_FREE
slouken@1352
    91
#undef HAVE_ALLOCA
slouken@5093
    92
#ifndef __WIN32__ /* Don't use C runtime versions of these on Windows */
slouken@1352
    93
#undef HAVE_GETENV
icculus@3581
    94
#undef HAVE_SETENV
slouken@1352
    95
#undef HAVE_PUTENV
slouken@1352
    96
#undef HAVE_UNSETENV
slouken@1352
    97
#endif
slouken@1352
    98
#undef HAVE_QSORT
slouken@1341
    99
#undef HAVE_ABS
slouken@1353
   100
#undef HAVE_BCOPY
slouken@1352
   101
#undef HAVE_MEMSET
slouken@1352
   102
#undef HAVE_MEMCPY
slouken@1352
   103
#undef HAVE_MEMMOVE
slouken@1352
   104
#undef HAVE_MEMCMP
slouken@1352
   105
#undef HAVE_STRLEN
slouken@1379
   106
#undef HAVE_STRLCPY
slouken@1379
   107
#undef HAVE_STRLCAT
slouken@1352
   108
#undef HAVE_STRDUP
slouken@1352
   109
#undef HAVE__STRREV
slouken@1352
   110
#undef HAVE__STRUPR
slouken@1352
   111
#undef HAVE__STRLWR
slouken@1353
   112
#undef HAVE_INDEX
slouken@1353
   113
#undef HAVE_RINDEX
slouken@1352
   114
#undef HAVE_STRCHR
slouken@1352
   115
#undef HAVE_STRRCHR
slouken@1352
   116
#undef HAVE_STRSTR
slouken@1352
   117
#undef HAVE_ITOA
slouken@1352
   118
#undef HAVE__LTOA
slouken@1352
   119
#undef HAVE__UITOA
slouken@1352
   120
#undef HAVE__ULTOA
slouken@1352
   121
#undef HAVE_STRTOL
slouken@1461
   122
#undef HAVE_STRTOUL
slouken@1352
   123
#undef HAVE__I64TOA
slouken@1352
   124
#undef HAVE__UI64TOA
slouken@1352
   125
#undef HAVE_STRTOLL
slouken@1461
   126
#undef HAVE_STRTOULL
slouken@1352
   127
#undef HAVE_STRTOD
slouken@1352
   128
#undef HAVE_ATOI
slouken@1341
   129
#undef HAVE_ATOF
slouken@1352
   130
#undef HAVE_STRCMP
slouken@1352
   131
#undef HAVE_STRNCMP
slouken@1510
   132
#undef HAVE__STRICMP
slouken@1352
   133
#undef HAVE_STRCASECMP
slouken@1512
   134
#undef HAVE__STRNICMP
slouken@1501
   135
#undef HAVE_STRNCASECMP
slouken@1352
   136
#undef HAVE_SSCANF
icculus@8089
   137
#undef HAVE_VSSCANF
slouken@1341
   138
#undef HAVE_SNPRINTF
slouken@1341
   139
#undef HAVE_VSNPRINTF
slouken@3012
   140
#undef HAVE_M_PI
slouken@4873
   141
#undef HAVE_ATAN
slouken@4870
   142
#undef HAVE_ATAN2
icculus@8056
   143
#undef HAVE_ACOS
icculus@8056
   144
#undef HAVE_ASIN
slouken@3032
   145
#undef HAVE_CEIL
slouken@3012
   146
#undef HAVE_COPYSIGN
slouken@3012
   147
#undef HAVE_COS
slouken@3012
   148
#undef HAVE_COSF
slouken@3012
   149
#undef HAVE_FABS
slouken@3012
   150
#undef HAVE_FLOOR
slouken@3012
   151
#undef HAVE_LOG
slouken@3012
   152
#undef HAVE_POW
slouken@3012
   153
#undef HAVE_SCALBN
slouken@3012
   154
#undef HAVE_SIN
slouken@3012
   155
#undef HAVE_SINF
slouken@3012
   156
#undef HAVE_SQRT
slouken@8840
   157
#undef HAVE_SQRTF
slouken@8840
   158
#undef HAVE_TAN
slouken@8840
   159
#undef HAVE_TANF
slouken@6642
   160
#undef HAVE_FSEEKO
slouken@6642
   161
#undef HAVE_FSEEKO64
slouken@1361
   162
#undef HAVE_SIGACTION
icculus@5577
   163
#undef HAVE_SA_SIGACTION
slouken@1361
   164
#undef HAVE_SETJMP
slouken@1361
   165
#undef HAVE_NANOSLEEP
slouken@3586
   166
#undef HAVE_SYSCONF
slouken@3579
   167
#undef HAVE_SYSCTLBYNAME
slouken@1361
   168
#undef HAVE_CLOCK_GETTIME
icculus@2093
   169
#undef HAVE_GETPAGESIZE
slouken@3405
   170
#undef HAVE_MPROTECT
slouken@5041
   171
#undef HAVE_ICONV
icculus@5969
   172
#undef HAVE_PTHREAD_SETNAME_NP
icculus@5969
   173
#undef HAVE_PTHREAD_SET_NAME_NP
slouken@6219
   174
#undef HAVE_SEM_TIMEDWAIT
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@3647
   182
/* SDL internal assertion support */
slouken@3649
   183
#undef SDL_DEFAULT_ASSERT_LEVEL
slouken@3647
   184
slouken@1353
   185
/* Allow disabling of core subsystems */
slouken@5225
   186
#undef SDL_ATOMIC_DISABLED
slouken@1361
   187
#undef SDL_AUDIO_DISABLED
slouken@1361
   188
#undef SDL_CPUINFO_DISABLED
slouken@1361
   189
#undef SDL_EVENTS_DISABLED
slouken@1361
   190
#undef SDL_FILE_DISABLED
slouken@1361
   191
#undef SDL_JOYSTICK_DISABLED
slouken@2713
   192
#undef SDL_HAPTIC_DISABLED
slouken@1361
   193
#undef SDL_LOADSO_DISABLED
slouken@5226
   194
#undef SDL_RENDER_DISABLED
slouken@1361
   195
#undef SDL_THREADS_DISABLED
slouken@1361
   196
#undef SDL_TIMERS_DISABLED
slouken@1361
   197
#undef SDL_VIDEO_DISABLED
icculus@3170
   198
#undef SDL_POWER_DISABLED
icculus@7667
   199
#undef SDL_FILESYSTEM_DISABLED
slouken@1361
   200
slouken@1361
   201
/* Enable various audio drivers */
slouken@1361
   202
#undef SDL_AUDIO_DRIVER_ALSA
slouken@1361
   203
#undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
slouken@1361
   204
#undef SDL_AUDIO_DRIVER_ARTS
slouken@1361
   205
#undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
icculus@2271
   206
#undef SDL_AUDIO_DRIVER_PULSEAUDIO
icculus@2271
   207
#undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
icculus@7981
   208
#undef SDL_AUDIO_DRIVER_HAIKU
slouken@1568
   209
#undef SDL_AUDIO_DRIVER_BSD
slouken@1361
   210
#undef SDL_AUDIO_DRIVER_COREAUDIO
slouken@1361
   211
#undef SDL_AUDIO_DRIVER_DISK
icculus@1532
   212
#undef SDL_AUDIO_DRIVER_DUMMY
dimitris@8714
   213
#undef SDL_AUDIO_DRIVER_ANDROID
icculus@5592
   214
#undef SDL_AUDIO_DRIVER_XAUDIO2
slouken@1361
   215
#undef SDL_AUDIO_DRIVER_DSOUND
slouken@1361
   216
#undef SDL_AUDIO_DRIVER_ESD
slouken@1361
   217
#undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
gabomdq@8833
   218
#undef SDL_AUDIO_DRIVER_NACL
slouken@1361
   219
#undef SDL_AUDIO_DRIVER_NAS
icculus@2049
   220
#undef SDL_AUDIO_DRIVER_NAS_DYNAMIC
icculus@7367
   221
#undef SDL_AUDIO_DRIVER_SNDIO
icculus@7367
   222
#undef SDL_AUDIO_DRIVER_SNDIO_DYNAMIC
slouken@1361
   223
#undef SDL_AUDIO_DRIVER_OSS
slouken@1361
   224
#undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
icculus@2049
   225
#undef SDL_AUDIO_DRIVER_PAUDIO
slouken@3099
   226
#undef SDL_AUDIO_DRIVER_QSA
slouken@1361
   227
#undef SDL_AUDIO_DRIVER_SUNAUDIO
icculus@5588
   228
#undef SDL_AUDIO_DRIVER_WINMM
slouken@2947
   229
#undef SDL_AUDIO_DRIVER_FUSIONSOUND
slouken@2947
   230
#undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
slouken@1361
   231
slouken@1361
   232
/* Enable various input drivers */
icculus@2276
   233
#undef SDL_INPUT_LINUXEV
gabomdq@7778
   234
#undef SDL_INPUT_LINUXKD
slouken@1361
   235
#undef SDL_INPUT_TSLIB
icculus@7981
   236
#undef SDL_JOYSTICK_HAIKU
slouken@1895
   237
#undef SDL_JOYSTICK_DINPUT
slouken@8972
   238
#undef SDL_JOYSTICK_XINPUT
slouken@1361
   239
#undef SDL_JOYSTICK_DUMMY
slouken@1361
   240
#undef SDL_JOYSTICK_IOKIT
slouken@1361
   241
#undef SDL_JOYSTICK_LINUX
dimitris@8714
   242
#undef SDL_JOYSTICK_ANDROID
slouken@1361
   243
#undef SDL_JOYSTICK_WINMM
slouken@1361
   244
#undef SDL_JOYSTICK_USBHID
slouken@1565
   245
#undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
slouken@2713
   246
#undef SDL_HAPTIC_DUMMY
slouken@2713
   247
#undef SDL_HAPTIC_LINUX
slouken@2713
   248
#undef SDL_HAPTIC_IOKIT
slouken@2713
   249
#undef SDL_HAPTIC_DINPUT
slouken@8972
   250
#undef SDL_HAPTIC_XINPUT
slouken@1361
   251
slouken@1361
   252
/* Enable various shared object loading systems */
icculus@7981
   253
#undef SDL_LOADSO_HAIKU
slouken@1361
   254
#undef SDL_LOADSO_DLOPEN
slouken@1635
   255
#undef SDL_LOADSO_DUMMY
slouken@1361
   256
#undef SDL_LOADSO_LDG
slouken@5062
   257
#undef SDL_LOADSO_WINDOWS
slouken@1361
   258
slouken@1361
   259
/* Enable various threading systems */
slouken@1361
   260
#undef SDL_THREAD_PTHREAD
slouken@1361
   261
#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
slouken@1361
   262
#undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
slouken@5062
   263
#undef SDL_THREAD_WINDOWS
slouken@1361
   264
slouken@1361
   265
/* Enable various timer systems */
icculus@7981
   266
#undef SDL_TIMER_HAIKU
slouken@1635
   267
#undef SDL_TIMER_DUMMY
slouken@1361
   268
#undef SDL_TIMER_UNIX
slouken@5062
   269
#undef SDL_TIMER_WINDOWS
slouken@1361
   270
slouken@1361
   271
/* Enable various video drivers */
icculus@7981
   272
#undef SDL_VIDEO_DRIVER_HAIKU
slouken@1931
   273
#undef SDL_VIDEO_DRIVER_COCOA
slouken@1361
   274
#undef SDL_VIDEO_DRIVER_DIRECTFB
slouken@2998
   275
#undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC
slouken@1361
   276
#undef SDL_VIDEO_DRIVER_DUMMY
slouken@5062
   277
#undef SDL_VIDEO_DRIVER_WINDOWS
gabomdq@8062
   278
#undef SDL_VIDEO_DRIVER_WAYLAND
gabomdq@8082
   279
#undef SDL_VIDEO_DRIVER_WAYLAND_QT_TOUCH
gabomdq@8104
   280
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC
gabomdq@8104
   281
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL
gabomdq@8104
   282
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR
gabomdq@8104
   283
#undef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON
icculus@8153
   284
#undef SDL_VIDEO_DRIVER_MIR
icculus@8159
   285
#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC
icculus@8159
   286
#undef SDL_VIDEO_DRIVER_MIR_DYNAMIC_XKBCOMMON
slouken@1361
   287
#undef SDL_VIDEO_DRIVER_X11
gabomdq@7753
   288
#undef SDL_VIDEO_DRIVER_RPI
dimitris@8714
   289
#undef SDL_VIDEO_DRIVER_ANDROID
slouken@1361
   290
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
slouken@1361
   291
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
slouken@5471
   292
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XCURSOR
slouken@5408
   293
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA
slouken@6311
   294
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2
icculus@1589
   295
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
slouken@3025
   296
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
slouken@5408
   297
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE
slouken@5471
   298
#undef SDL_VIDEO_DRIVER_X11_XCURSOR
slouken@1361
   299
#undef SDL_VIDEO_DRIVER_X11_XINERAMA
slouken@6311
   300
#undef SDL_VIDEO_DRIVER_X11_XINPUT2
dimitris@6316
   301
#undef SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH
icculus@1589
   302
#undef SDL_VIDEO_DRIVER_X11_XRANDR
slouken@5408
   303
#undef SDL_VIDEO_DRIVER_X11_XSCRNSAVER
icculus@4793
   304
#undef SDL_VIDEO_DRIVER_X11_XSHAPE
slouken@5408
   305
#undef SDL_VIDEO_DRIVER_X11_XVIDMODE
slouken@6311
   306
#undef SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS
azamat@7266
   307
#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XDATA32
slouken@6313
   308
#undef SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY
dimitris@6318
   309
#undef SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM
gabomdq@8833
   310
#undef SDL_VIDEO_DRIVER_NACL
slouken@9164
   311
#undef SDL_VIDEO_DRIVER_VIVANTE
slouken@9164
   312
#undef SDL_VIDEO_DRIVER_VIVANTE_VDK
slouken@1361
   313
slouken@1895
   314
#undef SDL_VIDEO_RENDER_D3D
slouken@8591
   315
#undef SDL_VIDEO_RENDER_D3D11
slouken@1895
   316
#undef SDL_VIDEO_RENDER_OGL
slouken@3087
   317
#undef SDL_VIDEO_RENDER_OGL_ES
slouken@6188
   318
#undef SDL_VIDEO_RENDER_OGL_ES2
slouken@5199
   319
#undef SDL_VIDEO_RENDER_DIRECTFB
slouken@1895
   320
slouken@1361
   321
/* Enable OpenGL support */
slouken@1361
   322
#undef SDL_VIDEO_OPENGL
slouken@3087
   323
#undef SDL_VIDEO_OPENGL_ES
icculus@7688
   324
#undef SDL_VIDEO_OPENGL_ES2
slouken@1952
   325
#undef SDL_VIDEO_OPENGL_BGL
slouken@1952
   326
#undef SDL_VIDEO_OPENGL_CGL
gabomdq@7659
   327
#undef SDL_VIDEO_OPENGL_EGL
slouken@1361
   328
#undef SDL_VIDEO_OPENGL_GLX
slouken@1361
   329
#undef SDL_VIDEO_OPENGL_WGL
slouken@1361
   330
#undef SDL_VIDEO_OPENGL_OSMESA
slouken@1361
   331
#undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC
slouken@1361
   332
icculus@3170
   333
/* Enable system power support */
icculus@3170
   334
#undef SDL_POWER_LINUX
icculus@3170
   335
#undef SDL_POWER_WINDOWS
icculus@3170
   336
#undef SDL_POWER_MACOSX
icculus@7981
   337
#undef SDL_POWER_HAIKU
dimitris@8714
   338
#undef SDL_POWER_ANDROID
icculus@3170
   339
#undef SDL_POWER_HARDWIRED
icculus@3170
   340
icculus@7667
   341
/* Enable system filesystem support */
icculus@7981
   342
#undef SDL_FILESYSTEM_HAIKU
icculus@7667
   343
#undef SDL_FILESYSTEM_COCOA
icculus@7667
   344
#undef SDL_FILESYSTEM_DUMMY
icculus@7667
   345
#undef SDL_FILESYSTEM_UNIX
icculus@7667
   346
#undef SDL_FILESYSTEM_WINDOWS
gabomdq@8851
   347
#undef SDL_FILESYSTEM_NACL
icculus@7667
   348
slouken@1402
   349
/* Enable assembly routines */
slouken@1402
   350
#undef SDL_ASSEMBLY_ROUTINES
slouken@5389
   351
#undef SDL_ALTIVEC_BLITTERS
slouken@1353
   352
slouken@6235
   353
#endif /* _SDL_config_h */