include/SDL_config.h.in
author Sam Lantinga <slouken@libsdl.org>
Thu, 09 Feb 2006 09:38:05 +0000
changeset 1354 22f39393668a
parent 1353 7ba544e2888d
child 1361 19418e4422cb
permissions -rw-r--r--
Fixed build problem with SDL_string.c
Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h
Moved endian-related SDL_rwops code into SDL_rwops.c
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@1354
    46
/* Endianness */
slouken@1354
    47
#undef SDL_BYTEORDER
slouken@1354
    48
slouken@1353
    49
/* Comment this if you want to build without any C library requirements */
slouken@1341
    50
#undef HAVE_LIBC
slouken@1341
    51
#ifdef HAVE_LIBC
slouken@1341
    52
slouken@1353
    53
/* Useful headers */
slouken@1353
    54
#undef HAVE_SYS_TYPES_H
slouken@1352
    55
#undef HAVE_STDIO_H
slouken@1353
    56
#undef STDC_HEADERS
slouken@1352
    57
#undef HAVE_STDLIB_H
slouken@1353
    58
#undef HAVE_STDARG_H
slouken@1352
    59
#undef HAVE_MALLOC_H
slouken@1353
    60
#undef HAVE_MEMORY_H
slouken@1352
    61
#undef HAVE_STRING_H
slouken@1353
    62
#undef HAVE_STRINGS_H
slouken@1353
    63
#undef HAVE_INTTYPES_H
slouken@1353
    64
#undef HAVE_STDINT_H
slouken@1352
    65
#undef HAVE_CTYPE_H
slouken@1352
    66
#undef HAVE_SIGNAL_H
slouken@1341
    67
slouken@1353
    68
/* C library functions */
slouken@1352
    69
#undef HAVE_MALLOC
slouken@1352
    70
#undef HAVE_CALLOC
slouken@1352
    71
#undef HAVE_REALLOC
slouken@1352
    72
#undef HAVE_FREE
slouken@1352
    73
#undef HAVE_ALLOCA
slouken@1352
    74
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
slouken@1352
    75
#undef HAVE_GETENV
slouken@1352
    76
#undef HAVE_PUTENV
slouken@1352
    77
#undef HAVE_UNSETENV
slouken@1352
    78
#endif
slouken@1352
    79
#undef HAVE_QSORT
slouken@1341
    80
#undef HAVE_ABS
slouken@1353
    81
#undef HAVE_BCOPY
slouken@1352
    82
#undef HAVE_MEMSET
slouken@1352
    83
#undef HAVE_MEMCPY
slouken@1352
    84
#undef HAVE_MEMMOVE
slouken@1352
    85
#undef HAVE_MEMCMP
slouken@1352
    86
#undef HAVE_STRLEN
slouken@1352
    87
#undef HAVE_STRCPY
slouken@1352
    88
#undef HAVE_STRNCPY
slouken@1352
    89
#undef HAVE_STRCAT
slouken@1352
    90
#undef HAVE_STRNCAT
slouken@1352
    91
#undef HAVE_STRDUP
slouken@1352
    92
#undef HAVE__STRREV
slouken@1352
    93
#undef HAVE__STRUPR
slouken@1352
    94
#undef HAVE__STRLWR
slouken@1353
    95
#undef HAVE_INDEX
slouken@1353
    96
#undef HAVE_RINDEX
slouken@1352
    97
#undef HAVE_STRCHR
slouken@1352
    98
#undef HAVE_STRRCHR
slouken@1352
    99
#undef HAVE_STRSTR
slouken@1352
   100
#undef HAVE_ITOA
slouken@1352
   101
#undef HAVE__LTOA
slouken@1352
   102
#undef HAVE__UITOA
slouken@1352
   103
#undef HAVE__ULTOA
slouken@1352
   104
#undef HAVE_STRTOL
slouken@1352
   105
#undef HAVE__I64TOA
slouken@1352
   106
#undef HAVE__UI64TOA
slouken@1352
   107
#undef HAVE_STRTOLL
slouken@1352
   108
#undef HAVE_STRTOD
slouken@1352
   109
#undef HAVE_ATOI
slouken@1341
   110
#undef HAVE_ATOF
slouken@1352
   111
#undef HAVE_STRCMP
slouken@1352
   112
#undef HAVE_STRNCMP
slouken@1352
   113
#undef HAVE_STRICMP
slouken@1352
   114
#undef HAVE_STRCASECMP
slouken@1352
   115
#undef HAVE_SSCANF
slouken@1341
   116
#undef HAVE_SNPRINTF
slouken@1341
   117
#undef HAVE_VSNPRINTF
slouken@1341
   118
slouken@1341
   119
#endif /* HAVE_LIBC */
slouken@1341
   120
slouken@1353
   121
slouken@1353
   122
/* Allow disabling of core subsystems */
slouken@1353
   123
#undef DISABLE_AUDIO
slouken@1353
   124
#undef DISABLE_VIDEO
slouken@1353
   125
#undef DISABLE_EVENTS
slouken@1353
   126
#undef DISABLE_JOYSTICK
slouken@1353
   127
#undef DISABLE_CDROM
slouken@1353
   128
#undef DISABLE_THREADS
slouken@1353
   129
#undef DISABLE_TIMERS
slouken@1353
   130
#undef DISABLE_FILE
slouken@1353
   131
#undef DISABLE_CPUINFO
slouken@1353
   132
slouken@1341
   133
#endif /* _SDL_config_h */