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