include/SDL_config.h
changeset 1341 d02b552e5304
parent 1336 3692456e7b0f
child 1353 7ba544e2888d
     1.1 --- a/include/SDL_config.h	Tue Feb 07 11:18:21 2006 +0000
     1.2 +++ b/include/SDL_config.h	Tue Feb 07 12:11:33 2006 +0000
     1.3 @@ -23,81 +23,8 @@
     1.4  #ifndef _SDL_config_h
     1.5  #define _SDL_config_h
     1.6  
     1.7 -/* This is a set of defines to configure the SDL features */
     1.8 -
     1.9 -#define HAVE_STDARG_H
    1.10 -
    1.11 -/* Comment this if you want to build without any libc requirements */
    1.12 -#define HAVE_LIBC
    1.13 -#ifdef HAVE_LIBC
    1.14 -
    1.15 -/* Various C library headers */
    1.16 -#ifndef HAVE_CTYPE_H
    1.17 -#define HAVE_CTYPE_H
    1.18 -#endif
    1.19 -#ifndef HAVE_STDIO_H
    1.20 -#define HAVE_STDIO_H
    1.21 -#endif
    1.22 -#ifndef HAVE_STDLIB_H
    1.23 -#define HAVE_STDLIB_H
    1.24 -#endif
    1.25 -#ifndef HAVE_MALLOC_H
    1.26 -#define HAVE_MALLOC_H
    1.27 -#endif
    1.28 -#ifndef HAVE_STRING_H
    1.29 -#define HAVE_STRING_H
    1.30 -#endif
    1.31 -#if !defined(_WIN32_WCE)
    1.32 -#ifndef HAVE_SIGNAL_H
    1.33 -#define HAVE_SIGNAL_H
    1.34 -#endif
    1.35 -#endif /* !_WIN32_WCE */
    1.36 +/* This is the minimal configuration that can be used to build SDL */
    1.37  
    1.38 -/* Features provided by SDL_stdlib.h */
    1.39 -#define HAVE_MALLOC
    1.40 -#define HAVE_REALLOC
    1.41 -#define HAVE_FREE
    1.42 -#ifndef HAVE_ALLOCA
    1.43 -#define HAVE_ALLOCA
    1.44 -#endif
    1.45 -#if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */
    1.46 -#define HAVE_GETENV
    1.47 -#define HAVE_PUTENV
    1.48 -#endif
    1.49 -/*#define HAVE_QSORT*/
    1.50 -
    1.51 -/* Features provided by SDL_string.h */
    1.52 -#define HAVE_MEMSET
    1.53 -#define HAVE_MEMCPY
    1.54 -#define HAVE_MEMMOVE
    1.55 -#define HAVE_MEMCMP
    1.56 -#define HAVE_STRLEN
    1.57 -#define HAVE_STRCPY
    1.58 -#define HAVE_STRNCPY
    1.59 -#define HAVE_STRCAT
    1.60 -#define HAVE_STRNCAT
    1.61 -/*#define HAVE__STRREV*/
    1.62 -/*#define HAVE__STRUPR*/
    1.63 -/*#define HAVE__STRLWR*/
    1.64 -#define HAVE_STRCHR
    1.65 -#define HAVE_STRRCHR
    1.66 -#define HAVE_STRSTR
    1.67 -/*#define HAVE_ITOA*/
    1.68 -/*#define HAVE__LTOA*/
    1.69 -/*#define HAVE__UITOA*/
    1.70 -/*#define HAVE__ULTOA*/
    1.71 -/*#define HAVE_STRTOL*/
    1.72 -/*#define HAVE__I64TOA*/
    1.73 -/*#define HAVE__UI64TOA*/
    1.74 -/*#define HAVE_STRTOLL*/
    1.75 -#define HAVE_STRCMP
    1.76 -#define HAVE_STRNCMP
    1.77 -/*#define HAVE_STRICMP*/
    1.78 -/*#define HAVE_STRCASECMP*/
    1.79 -#define HAVE_SSCANF
    1.80 -/*#define HAVE_SNPRINTF*/
    1.81 -/*#define HAVE_VSNPRINTF*/
    1.82 -
    1.83 -#endif /* HAVE_LIBC */
    1.84 +#define HAVE_STDARG_H 1
    1.85  
    1.86  #endif /* _SDL_config_h */