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