include/SDL_config.h
author Ryan C. Gordon <icculus@icculus.org>
Tue, 14 Mar 2006 08:53:33 +0000
changeset 1532 30f189cdd82b
parent 1484 b2b476a4a73c
child 1533 38c1eb6b0083
permissions -rw-r--r--
Implemented dummy audio driver.

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