include/SDL_config.h
changeset 1358 c71e05b4dc2e
parent 1354 22f39393668a
     1.1 --- a/include/SDL_config.h	Fri Feb 10 03:21:39 2006 +0000
     1.2 +++ b/include/SDL_config.h	Fri Feb 10 06:48:43 2006 +0000
     1.3 @@ -1,4 +1,3 @@
     1.4 -/* include/SDL_config.h.  Generated by configure.  */
     1.5  /*
     1.6      SDL - Simple DirectMedia Layer
     1.7      Copyright (C) 1997-2006 Sam Lantinga
     1.8 @@ -24,111 +23,17 @@
     1.9  #ifndef _SDL_config_h
    1.10  #define _SDL_config_h
    1.11  
    1.12 -/* This is a set of defines to configure the SDL features */
    1.13 -
    1.14 -/* C language features */
    1.15 -/* #undef const */
    1.16 -/* #undef inline */
    1.17 -/* #undef volatile */
    1.18 -
    1.19 -/* C datatypes */
    1.20 -/* #undef size_t */
    1.21 -/* #undef int8_t */
    1.22 -/* #undef uint8_t */
    1.23 -/* #undef int16_t */
    1.24 -/* #undef uint16_t */
    1.25 -/* #undef int32_t */
    1.26 -/* #undef uint32_t */
    1.27 -#define SDL_HAS_64BIT_TYPE 1
    1.28 -/* #undef int64_t */
    1.29 -/* #undef uint64_t */
    1.30 -/* #undef uintptr_t */
    1.31 +/* This is the minimal configuration that can be used to build SDL */
    1.32  
    1.33 -/* Endianness */
    1.34 -#define SDL_BYTEORDER 1234
    1.35 -
    1.36 -/* Comment this if you want to build without any C library requirements */
    1.37 -#define HAVE_LIBC 1
    1.38 -#ifdef HAVE_LIBC
    1.39 -
    1.40 -/* Useful headers */
    1.41 -#define HAVE_SYS_TYPES_H 1
    1.42 -#define HAVE_STDIO_H 1
    1.43 -#define STDC_HEADERS 1
    1.44 -#define HAVE_STDLIB_H 1
    1.45 -#define HAVE_STDARG_H 1
    1.46 -#define HAVE_MALLOC_H 1
    1.47 -#define HAVE_MEMORY_H 1
    1.48 -#define HAVE_STRING_H 1
    1.49 -#define HAVE_STRINGS_H 1
    1.50 -#define HAVE_INTTYPES_H 1
    1.51 -#define HAVE_STDINT_H 1
    1.52 -#define HAVE_CTYPE_H 1
    1.53 -#define HAVE_SIGNAL_H 1
    1.54 +#include <stdarg.h>
    1.55  
    1.56 -/* C library functions */
    1.57 -#define HAVE_MALLOC 1
    1.58 -#define HAVE_CALLOC 1
    1.59 -#define HAVE_REALLOC 1
    1.60 -#define HAVE_FREE 1
    1.61 -#define HAVE_ALLOCA 1
    1.62 -#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
    1.63 -#define HAVE_GETENV 1
    1.64 -#define HAVE_PUTENV 1
    1.65 -#define HAVE_UNSETENV 1
    1.66 -#endif
    1.67 -#define HAVE_QSORT 1
    1.68 -#define HAVE_ABS 1
    1.69 -#define HAVE_BCOPY 1
    1.70 -#define HAVE_MEMSET 1
    1.71 -#define HAVE_MEMCPY 1
    1.72 -#define HAVE_MEMMOVE 1
    1.73 -#define HAVE_MEMCMP 1
    1.74 -#define HAVE_STRLEN 1
    1.75 -#define HAVE_STRCPY 1
    1.76 -#define HAVE_STRNCPY 1
    1.77 -#define HAVE_STRCAT 1
    1.78 -#define HAVE_STRNCAT 1
    1.79 -#define HAVE_STRDUP 1
    1.80 -/* #undef HAVE__STRREV */
    1.81 -/* #undef HAVE__STRUPR */
    1.82 -/* #undef HAVE__STRLWR */
    1.83 -/* #undef HAVE_INDEX */
    1.84 -/* #undef HAVE_RINDEX */
    1.85 -#define HAVE_STRCHR 1
    1.86 -#define HAVE_STRRCHR 1
    1.87 -#define HAVE_STRSTR 1
    1.88 -/* #undef HAVE_ITOA */
    1.89 -/* #undef HAVE__LTOA */
    1.90 -/* #undef HAVE__UITOA */
    1.91 -/* #undef HAVE__ULTOA */
    1.92 -#define HAVE_STRTOL 1
    1.93 -/* #undef HAVE__I64TOA */
    1.94 -/* #undef HAVE__UI64TOA */
    1.95 -#define HAVE_STRTOLL 1
    1.96 -#define HAVE_STRTOD 1
    1.97 -#define HAVE_ATOI 1
    1.98 -#define HAVE_ATOF 1
    1.99 -#define HAVE_STRCMP 1
   1.100 -#define HAVE_STRNCMP 1
   1.101 -/* #undef HAVE_STRICMP */
   1.102 -#define HAVE_STRCASECMP 1
   1.103 -#define HAVE_SSCANF 1
   1.104 -#define HAVE_SNPRINTF 1
   1.105 -/* #undef HAVE_VSNPRINTF */
   1.106 -
   1.107 -#endif /* HAVE_LIBC */
   1.108 -
   1.109 -
   1.110 -/* Allow disabling of core subsystems */
   1.111 -/* #undef DISABLE_AUDIO */
   1.112 -/* #undef DISABLE_VIDEO */
   1.113 -/* #undef DISABLE_EVENTS */
   1.114 -/* #undef DISABLE_JOYSTICK */
   1.115 -/* #undef DISABLE_CDROM */
   1.116 -/* #undef DISABLE_THREADS */
   1.117 -/* #undef DISABLE_TIMERS */
   1.118 -/* #undef DISABLE_FILE */
   1.119 -/* #undef DISABLE_CPUINFO */
   1.120 +typedef signed char int8_t;
   1.121 +typedef unsigned char uint8_t;
   1.122 +typedef signed short int16_t;
   1.123 +typedef unsigned short uint16_t;
   1.124 +typedef signed int int32_t;
   1.125 +typedef unsigned int uint32_t;
   1.126 +typedef unsigned int size_t;
   1.127 +typedef unsigned long uintptr_t;
   1.128  
   1.129  #endif /* _SDL_config_h */