include/SDL_config.h.in
author Sam Lantinga <slouken@libsdl.org>
Thu, 09 Feb 2006 09:07:13 +0000
changeset 1353 7ba544e2888d
parent 1352 c643342f3f33
child 1354 22f39393668a
permissions -rw-r--r--
Started the process of improving configure support, and merging C types
and library support into a single header.
slouken@1341
     1
/*
slouken@1341
     2
    SDL - Simple DirectMedia Layer
slouken@1341
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1341
     4
slouken@1341
     5
    This library is free software; you can redistribute it and/or
slouken@1341
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1341
     7
    License as published by the Free Software Foundation; either
slouken@1341
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1341
     9
slouken@1341
    10
    This library is distributed in the hope that it will be useful,
slouken@1341
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1341
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1341
    13
    Lesser General Public License for more details.
slouken@1341
    14
slouken@1341
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1341
    16
    License along with this library; if not, write to the Free Software
slouken@1341
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1341
    18
slouken@1341
    19
    Sam Lantinga
slouken@1341
    20
    slouken@libsdl.org
slouken@1341
    21
*/
slouken@1341
    22
slouken@1341
    23
#ifndef _SDL_config_h
slouken@1341
    24
#define _SDL_config_h
slouken@1341
    25
slouken@1341
    26
/* This is a set of defines to configure the SDL features */
slouken@1341
    27
slouken@1353
    28
/* C language features */
slouken@1353
    29
#undef const
slouken@1353
    30
#undef inline
slouken@1353
    31
#undef volatile
slouken@1352
    32
slouken@1353
    33
/* C datatypes */
slouken@1353
    34
#undef size_t
slouken@1353
    35
#undef int8_t
slouken@1353
    36
#undef uint8_t
slouken@1353
    37
#undef int16_t
slouken@1353
    38
#undef uint16_t
slouken@1353
    39
#undef int32_t
slouken@1353
    40
#undef uint32_t
slouken@1353
    41
#undef SDL_HAS_64BIT_TYPE
slouken@1353
    42
#undef int64_t
slouken@1353
    43
#undef uint64_t
slouken@1353
    44
#undef uintptr_t
slouken@1353
    45
slouken@1353
    46
/* Comment this if you want to build without any C library requirements */
slouken@1341
    47
#undef HAVE_LIBC
slouken@1341
    48
#ifdef HAVE_LIBC
slouken@1341
    49
slouken@1353
    50
/* Useful headers */
slouken@1353
    51
#undef HAVE_SYS_TYPES_H
slouken@1352
    52
#undef HAVE_STDIO_H
slouken@1353
    53
#undef STDC_HEADERS
slouken@1352
    54
#undef HAVE_STDLIB_H
slouken@1353
    55
#undef HAVE_STDARG_H
slouken@1352
    56
#undef HAVE_MALLOC_H
slouken@1353
    57
#undef HAVE_MEMORY_H
slouken@1352
    58
#undef HAVE_STRING_H
slouken@1353
    59
#undef HAVE_STRINGS_H
slouken@1353
    60
#undef HAVE_INTTYPES_H
slouken@1353
    61
#undef HAVE_STDINT_H
slouken@1352
    62
#undef HAVE_CTYPE_H
slouken@1352
    63
#undef HAVE_SIGNAL_H
slouken@1341
    64
slouken@1353
    65
/* C library functions */
slouken@1352
    66
#undef HAVE_MALLOC
slouken@1352
    67
#undef HAVE_CALLOC
slouken@1352
    68
#undef HAVE_REALLOC
slouken@1352
    69
#undef HAVE_FREE
slouken@1352
    70
#undef HAVE_ALLOCA
slouken@1352
    71
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
slouken@1352
    72
#undef HAVE_GETENV
slouken@1352
    73
#undef HAVE_PUTENV
slouken@1352
    74
#undef HAVE_UNSETENV
slouken@1352
    75
#endif
slouken@1352
    76
#undef HAVE_QSORT
slouken@1341
    77
#undef HAVE_ABS
slouken@1353
    78
#undef HAVE_BCOPY
slouken@1352
    79
#undef HAVE_MEMSET
slouken@1352
    80
#undef HAVE_MEMCPY
slouken@1352
    81
#undef HAVE_MEMMOVE
slouken@1352
    82
#undef HAVE_MEMCMP
slouken@1352
    83
#undef HAVE_STRLEN
slouken@1352
    84
#undef HAVE_STRCPY
slouken@1352
    85
#undef HAVE_STRNCPY
slouken@1352
    86
#undef HAVE_STRCAT
slouken@1352
    87
#undef HAVE_STRNCAT
slouken@1352
    88
#undef HAVE_STRDUP
slouken@1352
    89
#undef HAVE__STRREV
slouken@1352
    90
#undef HAVE__STRUPR
slouken@1352
    91
#undef HAVE__STRLWR
slouken@1353
    92
#undef HAVE_INDEX
slouken@1353
    93
#undef HAVE_RINDEX
slouken@1352
    94
#undef HAVE_STRCHR
slouken@1352
    95
#undef HAVE_STRRCHR
slouken@1352
    96
#undef HAVE_STRSTR
slouken@1352
    97
#undef HAVE_ITOA
slouken@1352
    98
#undef HAVE__LTOA
slouken@1352
    99
#undef HAVE__UITOA
slouken@1352
   100
#undef HAVE__ULTOA
slouken@1352
   101
#undef HAVE_STRTOL
slouken@1352
   102
#undef HAVE__I64TOA
slouken@1352
   103
#undef HAVE__UI64TOA
slouken@1352
   104
#undef HAVE_STRTOLL
slouken@1352
   105
#undef HAVE_STRTOD
slouken@1352
   106
#undef HAVE_ATOI
slouken@1341
   107
#undef HAVE_ATOF
slouken@1352
   108
#undef HAVE_STRCMP
slouken@1352
   109
#undef HAVE_STRNCMP
slouken@1352
   110
#undef HAVE_STRICMP
slouken@1352
   111
#undef HAVE_STRCASECMP
slouken@1352
   112
#undef HAVE_SSCANF
slouken@1341
   113
#undef HAVE_SNPRINTF
slouken@1341
   114
#undef HAVE_VSNPRINTF
slouken@1341
   115
slouken@1341
   116
#endif /* HAVE_LIBC */
slouken@1341
   117
slouken@1353
   118
slouken@1353
   119
/* Allow disabling of core subsystems */
slouken@1353
   120
#undef DISABLE_AUDIO
slouken@1353
   121
#undef DISABLE_VIDEO
slouken@1353
   122
#undef DISABLE_EVENTS
slouken@1353
   123
#undef DISABLE_JOYSTICK
slouken@1353
   124
#undef DISABLE_CDROM
slouken@1353
   125
#undef DISABLE_THREADS
slouken@1353
   126
#undef DISABLE_TIMERS
slouken@1353
   127
#undef DISABLE_ENDIAN
slouken@1353
   128
#undef DISABLE_FILE
slouken@1353
   129
#undef DISABLE_CPUINFO
slouken@1353
   130
slouken@1341
   131
#endif /* _SDL_config_h */