include/SDL_config.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 24 Feb 2006 09:57:14 +0000
changeset 1424 7a610f25c12f
parent 1422 d2ee8da60262
child 1425 aea151eb97b8
permissions -rw-r--r--
Updated MacOS Classic MPW build
slouken@1424
     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
slouken@1424
    27
/* This is a set of defines to configure the SDL features */
slouken@1424
    28
slouken@1424
    29
/* General platform specific identifiers */
slouken@1422
    30
#include "SDL_platform.h"
slouken@1422
    31
slouken@1424
    32
/* C language features */
slouken@1424
    33
/* #undef const */
slouken@1424
    34
/* #undef inline */
slouken@1424
    35
/* #undef volatile */
slouken@1424
    36
slouken@1424
    37
/* C datatypes */
slouken@1424
    38
/* #undef size_t */
slouken@1424
    39
/* #undef int8_t */
slouken@1424
    40
/* #undef uint8_t */
slouken@1424
    41
/* #undef int16_t */
slouken@1424
    42
/* #undef uint16_t */
slouken@1424
    43
/* #undef int32_t */
slouken@1424
    44
/* #undef uint32_t */
slouken@1424
    45
/* #undef int64_t */
slouken@1424
    46
/* #undef uint64_t */
slouken@1424
    47
/* #undef uintptr_t */
slouken@1424
    48
#define SDL_HAS_64BIT_TYPE 1
slouken@1424
    49
slouken@1424
    50
/* Endianness */
slouken@1424
    51
#define SDL_BYTEORDER 1234
slouken@1424
    52
slouken@1424
    53
/* Comment this if you want to build without any C library requirements */
slouken@1424
    54
#define HAVE_LIBC 1
slouken@1424
    55
#if HAVE_LIBC
slouken@1424
    56
slouken@1424
    57
/* Useful headers */
slouken@1424
    58
#define HAVE_ALLOCA_H 1
slouken@1424
    59
#define HAVE_SYS_TYPES_H 1
slouken@1424
    60
#define HAVE_STDIO_H 1
slouken@1424
    61
#define STDC_HEADERS 1
slouken@1424
    62
#define HAVE_STDLIB_H 1
slouken@1424
    63
#define HAVE_STDARG_H 1
slouken@1424
    64
#define HAVE_MALLOC_H 1
slouken@1424
    65
#define HAVE_MEMORY_H 1
slouken@1424
    66
#define HAVE_STRING_H 1
slouken@1424
    67
#define HAVE_STRINGS_H 1
slouken@1424
    68
#define HAVE_INTTYPES_H 1
slouken@1424
    69
#define HAVE_STDINT_H 1
slouken@1424
    70
#define HAVE_CTYPE_H 1
slouken@1424
    71
#define HAVE_MATH_H 1
slouken@1424
    72
#define HAVE_SIGNAL_H 1
slouken@1424
    73
/* #undef HAVE_ALTIVEC_H */
slouken@1424
    74
slouken@1424
    75
/* C library functions */
slouken@1424
    76
#define HAVE_MALLOC 1
slouken@1424
    77
#define HAVE_CALLOC 1
slouken@1424
    78
#define HAVE_REALLOC 1
slouken@1424
    79
#define HAVE_FREE 1
slouken@1424
    80
#define HAVE_ALLOCA 1
slouken@1424
    81
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
slouken@1424
    82
#define HAVE_GETENV 1
slouken@1424
    83
#define HAVE_PUTENV 1
slouken@1424
    84
#define HAVE_UNSETENV 1
slouken@1424
    85
#endif
slouken@1424
    86
#define HAVE_QSORT 1
slouken@1424
    87
#define HAVE_ABS 1
slouken@1424
    88
#define HAVE_BCOPY 1
slouken@1424
    89
#define HAVE_MEMSET 1
slouken@1424
    90
#define HAVE_MEMCPY 1
slouken@1424
    91
#define HAVE_MEMMOVE 1
slouken@1424
    92
#define HAVE_MEMCMP 1
slouken@1424
    93
#define HAVE_STRLEN 1
slouken@1424
    94
/* #undef HAVE_STRLCPY */
slouken@1424
    95
/* #undef HAVE_STRLCAT */
slouken@1424
    96
#define HAVE_STRDUP 1
slouken@1424
    97
/* #undef HAVE__STRREV */
slouken@1424
    98
/* #undef HAVE__STRUPR */
slouken@1424
    99
/* #undef HAVE__STRLWR */
slouken@1424
   100
/* #undef HAVE_INDEX */
slouken@1424
   101
/* #undef HAVE_RINDEX */
slouken@1424
   102
#define HAVE_STRCHR 1
slouken@1424
   103
#define HAVE_STRRCHR 1
slouken@1424
   104
#define HAVE_STRSTR 1
slouken@1424
   105
/* #undef HAVE_ITOA */
slouken@1424
   106
/* #undef HAVE__LTOA */
slouken@1424
   107
/* #undef HAVE__UITOA */
slouken@1424
   108
/* #undef HAVE__ULTOA */
slouken@1424
   109
#define HAVE_STRTOL 1
slouken@1424
   110
/* #undef HAVE__I64TOA */
slouken@1424
   111
/* #undef HAVE__UI64TOA */
slouken@1424
   112
#define HAVE_STRTOLL 1
slouken@1424
   113
#define HAVE_STRTOD 1
slouken@1424
   114
#define HAVE_ATOI 1
slouken@1424
   115
#define HAVE_ATOF 1
slouken@1424
   116
#define HAVE_STRCMP 1
slouken@1424
   117
#define HAVE_STRNCMP 1
slouken@1424
   118
/* #undef HAVE_STRICMP */
slouken@1424
   119
#define HAVE_STRCASECMP 1
slouken@1424
   120
#define HAVE_SSCANF 1
slouken@1424
   121
#define HAVE_SNPRINTF 1
slouken@1424
   122
#define HAVE_VSNPRINTF 1
slouken@1424
   123
#define HAVE_SIGACTION 1
slouken@1424
   124
#define HAVE_SETJMP 1
slouken@1424
   125
#define HAVE_NANOSLEEP 1
slouken@1424
   126
/* #undef HAVE_CLOCK_GETTIME */
slouken@1424
   127
#define HAVE_DLVSYM 1
slouken@1424
   128
slouken@1422
   129
#else
slouken@1424
   130
/* We may need some replacement for stdarg.h here */
slouken@1424
   131
#include <stdarg.h>
slouken@1424
   132
#endif /* HAVE_LIBC */
slouken@1361
   133
slouken@1424
   134
/* Allow disabling of core subsystems */
slouken@1424
   135
/* #undef SDL_AUDIO_DISABLED */
slouken@1424
   136
/* #undef SDL_CDROM_DISABLED */
slouken@1424
   137
/* #undef SDL_CPUINFO_DISABLED */
slouken@1424
   138
/* #undef SDL_EVENTS_DISABLED */
slouken@1424
   139
/* #undef SDL_FILE_DISABLED */
slouken@1424
   140
/* #undef SDL_JOYSTICK_DISABLED */
slouken@1424
   141
/* #undef SDL_LOADSO_DISABLED */
slouken@1424
   142
/* #undef SDL_THREADS_DISABLED */
slouken@1424
   143
/* #undef SDL_TIMERS_DISABLED */
slouken@1424
   144
/* #undef SDL_VIDEO_DISABLED */
slouken@1361
   145
slouken@1424
   146
/* Enable various audio drivers */
slouken@1424
   147
/* #undef SDL_AUDIO_DRIVER_AHI */
slouken@1424
   148
#define SDL_AUDIO_DRIVER_ALSA 1
slouken@1424
   149
#define SDL_AUDIO_DRIVER_ALSA_DYNAMIC "libasound.so.2"
slouken@1424
   150
#define SDL_AUDIO_DRIVER_ARTS 1
slouken@1424
   151
#define SDL_AUDIO_DRIVER_ARTS_DYNAMIC "libartsc.so.0"
slouken@1424
   152
/* #undef SDL_AUDIO_DRIVER_BAUDIO */
slouken@1424
   153
/* #undef SDL_AUDIO_DRIVER_COREAUDIO */
slouken@1424
   154
/* #undef SDL_AUDIO_DRIVER_DART */
slouken@1424
   155
/* #undef SDL_AUDIO_DRIVER_DC */
slouken@1424
   156
#define SDL_AUDIO_DRIVER_DISK 1
slouken@1424
   157
/* #undef SDL_AUDIO_DRIVER_DMEDIA */
slouken@1424
   158
/* #undef SDL_AUDIO_DRIVER_DSOUND */
slouken@1424
   159
#define SDL_AUDIO_DRIVER_ESD 1
slouken@1424
   160
/* #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC */
slouken@1424
   161
/* #undef SDL_AUDIO_DRIVER_MINT */
slouken@1424
   162
/* #undef SDL_AUDIO_DRIVER_MMEAUDIO */
slouken@1424
   163
#define SDL_AUDIO_DRIVER_NAS 1
slouken@1424
   164
/* #undef SDL_AUDIO_DRIVER_OPENBSD */
slouken@1424
   165
#define SDL_AUDIO_DRIVER_OSS 1
slouken@1424
   166
/* #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H */
slouken@1424
   167
/* #undef SDL_AUDIO_DRIVER_PAUD */
slouken@1424
   168
/* #undef SDL_AUDIO_DRIVER_QNXNTO */
slouken@1424
   169
/* #undef SDL_AUDIO_DRIVER_SNDMGR */
slouken@1424
   170
/* #undef SDL_AUDIO_DRIVER_SUNAUDIO */
slouken@1424
   171
/* #undef SDL_AUDIO_DRIVER_WAVEOUT */
slouken@1424
   172
slouken@1424
   173
/* Enable various cdrom drivers */
slouken@1424
   174
/* #undef SDL_CDROM_AIX */
slouken@1424
   175
/* #undef SDL_CDROM_BEOS */
slouken@1424
   176
/* #undef SDL_CDROM_BSDI */
slouken@1424
   177
/* #undef SDL_CDROM_DC */
slouken@1424
   178
/* #undef SDL_CDROM_DUMMY */
slouken@1424
   179
/* #undef SDL_CDROM_FREEBSD */
slouken@1424
   180
#define SDL_CDROM_LINUX 1
slouken@1424
   181
/* #undef SDL_CDROM_MACOS */
slouken@1424
   182
/* #undef SDL_CDROM_MACOSX */
slouken@1424
   183
/* #undef SDL_CDROM_MINT */
slouken@1424
   184
/* #undef SDL_CDROM_OPENBSD */
slouken@1424
   185
/* #undef SDL_CDROM_OS2 */
slouken@1424
   186
/* #undef SDL_CDROM_OSF */
slouken@1424
   187
/* #undef SDL_CDROM_QNX */
slouken@1424
   188
/* #undef SDL_CDROM_WIN32 */
slouken@1424
   189
slouken@1424
   190
/* Enable various input drivers */
slouken@1424
   191
/* #undef SDL_INPUT_TSLIB */
slouken@1424
   192
/* #undef SDL_JOYSTICK_AMIGA */
slouken@1424
   193
/* #undef SDL_JOYSTICK_BEOS */
slouken@1424
   194
/* #undef SDL_JOYSTICK_DC */
slouken@1424
   195
/* #undef SDL_JOYSTICK_DUMMY */
slouken@1424
   196
/* #undef SDL_JOYSTICK_IOKIT */
slouken@1424
   197
#define SDL_JOYSTICK_LINUX 1
slouken@1424
   198
/* #undef SDL_JOYSTICK_LINUXEV */
slouken@1424
   199
/* #undef SDL_JOYSTICK_MACOS */
slouken@1424
   200
/* #undef SDL_JOYSTICK_MINT */
slouken@1424
   201
/* #undef SDL_JOYSTICK_OS2 */
slouken@1424
   202
/* #undef SDL_JOYSTICK_RISCOS */
slouken@1424
   203
/* #undef SDL_JOYSTICK_WINMM */
slouken@1424
   204
/* #undef SDL_JOYSTICK_USBHID */
slouken@1424
   205
slouken@1424
   206
/* Enable various shared object loading systems */
slouken@1424
   207
/* #undef SDL_LOADSO_BEOS */
slouken@1424
   208
/* #undef SDL_LOADSO_DLCOMPAT */
slouken@1424
   209
#define SDL_LOADSO_DLOPEN 1
slouken@1424
   210
/* #undef SDL_LOADSO_LDG */
slouken@1424
   211
/* #undef SDL_LOADSO_MACOS */
slouken@1424
   212
/* #undef SDL_LOADSO_OS2 */
slouken@1424
   213
/* #undef SDL_LOADSO_WIN32 */
slouken@1424
   214
slouken@1424
   215
/* Enable various threading systems */
slouken@1424
   216
/* #undef SDL_THREAD_AMIGA */
slouken@1424
   217
/* #undef SDL_THREAD_BEOS */
slouken@1424
   218
/* #undef SDL_THREAD_DC */
slouken@1424
   219
/* #undef SDL_THREAD_EPOC */
slouken@1424
   220
/* #undef SDL_THREAD_OS2 */
slouken@1424
   221
/* #undef SDL_THREAD_PTH */
slouken@1424
   222
#define SDL_THREAD_PTHREAD 1
slouken@1424
   223
#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1
slouken@1424
   224
/* #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP */
slouken@1424
   225
/* #undef SDL_THREAD_SPROC */
slouken@1424
   226
/* #undef SDL_THREAD_WIN32 */
slouken@1424
   227
slouken@1424
   228
/* Enable various timer systems */
slouken@1424
   229
/* #undef SDL_TIMER_AMIGA */
slouken@1424
   230
/* #undef SDL_TIMER_BEOS */
slouken@1424
   231
/* #undef SDL_TIMER_DC */
slouken@1424
   232
/* #undef SDL_TIMER_EPOC */
slouken@1424
   233
/* #undef SDL_TIMER_MACOS */
slouken@1424
   234
/* #undef SDL_TIMER_MINT */
slouken@1424
   235
/* #undef SDL_TIMER_OS2 */
slouken@1424
   236
/* #undef SDL_TIMER_RISCOS */
slouken@1424
   237
#define SDL_TIMER_UNIX 1
slouken@1424
   238
/* #undef SDL_TIMER_WIN32 */
slouken@1424
   239
/* #undef SDL_TIMER_WINCE */
slouken@1424
   240
slouken@1424
   241
/* Enable various video drivers */
slouken@1424
   242
/* #undef SDL_VIDEO_DRIVER_AALIB */
slouken@1424
   243
/* #undef SDL_VIDEO_DRIVER_BWINDOW */
slouken@1424
   244
/* #undef SDL_VIDEO_DRIVER_CYBERGRAPHICS */
slouken@1424
   245
/* #undef SDL_VIDEO_DRIVER_DC */
slouken@1424
   246
/* #undef SDL_VIDEO_DRIVER_DDRAW */
slouken@1424
   247
#define SDL_VIDEO_DRIVER_DGA 1
slouken@1424
   248
/* #undef SDL_VIDEO_DRIVER_DIRECTFB */
slouken@1424
   249
/* #undef SDL_VIDEO_DRIVER_DRAWSPROCKET */
slouken@1424
   250
#define SDL_VIDEO_DRIVER_DUMMY 1
slouken@1424
   251
/* #undef SDL_VIDEO_DRIVER_EPOC */
slouken@1424
   252
#define SDL_VIDEO_DRIVER_FBCON 1
slouken@1424
   253
/* #undef SDL_VIDEO_DRIVER_GAPI */
slouken@1424
   254
/* #undef SDL_VIDEO_DRIVER_GEM */
slouken@1424
   255
/* #undef SDL_VIDEO_DRIVER_GGI */
slouken@1424
   256
/* #undef SDL_VIDEO_DRIVER_IPOD */
slouken@1424
   257
/* #undef SDL_VIDEO_DRIVER_NANOX */
slouken@1424
   258
/* #undef SDL_VIDEO_DRIVER_OS2FS */
slouken@1424
   259
/* #undef SDL_VIDEO_DRIVER_PHOTON */
slouken@1424
   260
/* #undef SDL_VIDEO_DRIVER_PICOGUI */
slouken@1424
   261
/* #undef SDL_VIDEO_DRIVER_PS2GS */
slouken@1424
   262
/* #undef SDL_VIDEO_DRIVER_QTOPIA */
slouken@1424
   263
/* #undef SDL_VIDEO_DRIVER_QUARTZ */
slouken@1424
   264
/* #undef SDL_VIDEO_DRIVER_RISCOS */
slouken@1424
   265
/* #undef SDL_VIDEO_DRIVER_SVGALIB */
slouken@1424
   266
/* #undef SDL_VIDEO_DRIVER_TOOLBOX */
slouken@1424
   267
/* #undef SDL_VIDEO_DRIVER_VGL */
slouken@1424
   268
/* #undef SDL_VIDEO_DRIVER_WINDIB */
slouken@1424
   269
/* #undef SDL_VIDEO_DRIVER_WSCONS */
slouken@1424
   270
#define SDL_VIDEO_DRIVER_X11 1
slouken@1424
   271
#define SDL_VIDEO_DRIVER_X11_DGAMOUSE 1
slouken@1424
   272
#define SDL_VIDEO_DRIVER_X11_DYNAMIC "libX11.so.6"
slouken@1424
   273
#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "libXext.so.6"
slouken@1424
   274
#define SDL_VIDEO_DRIVER_X11_VIDMODE 1
slouken@1424
   275
#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
slouken@1424
   276
#define SDL_VIDEO_DRIVER_X11_XME 1
slouken@1424
   277
#define SDL_VIDEO_DRIVER_X11_XV 1
slouken@1424
   278
/* #undef SDL_VIDEO_DRIVER_XBIOS */
slouken@1424
   279
slouken@1424
   280
/* Enable OpenGL support */
slouken@1424
   281
#define SDL_VIDEO_OPENGL 1
slouken@1424
   282
#define SDL_VIDEO_OPENGL_GLX 1
slouken@1424
   283
/* #undef SDL_VIDEO_OPENGL_WGL */
slouken@1424
   284
/* #undef SDL_VIDEO_OPENGL_OSMESA */
slouken@1424
   285
/* #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC */
slouken@1424
   286
slouken@1424
   287
/* Enable assembly routines */
slouken@1424
   288
#define SDL_ASSEMBLY_ROUTINES 1
slouken@1424
   289
/* #undef SDL_HERMES_BLITTERS */
slouken@1424
   290
/* #undef SDL_ALTIVEC_BLITTERS */
slouken@1361
   291
slouken@1361
   292
#endif /* _SDL_config_h */