include/SDL_config_win32.h
changeset 1471 9fb0eee04dd9
parent 1470 d47d96962fcc
child 1473 73777b138913
     1.1 --- a/include/SDL_config_win32.h	Mon Mar 06 06:00:45 2006 +0000
     1.2 +++ b/include/SDL_config_win32.h	Mon Mar 06 07:42:36 2006 +0000
     1.3 @@ -51,14 +51,64 @@
     1.4  typedef unsigned int uint32_t;
     1.5  typedef signed long long int64_t;
     1.6  typedef unsigned long long uint64_t;
     1.7 +#ifndef _SIZE_T_DEFINED_
     1.8 +#define _SIZE_T_DEFINED_
     1.9  typedef unsigned int size_t;
    1.10 +#endif
    1.11  typedef unsigned int uintptr_t;
    1.12  #endif /* _MSC_VER */
    1.13  #define SDL_HAS_64BIT_TYPE	1
    1.14  
    1.15 +/* Enabled for SDL 1.2 (binary compatibility) */
    1.16 +#define HAVE_LIBC	0
    1.17 +#if HAVE_LIBC
    1.18  /* Useful headers */
    1.19 +#define HAVE_STDIO_H 1
    1.20 +#define STDC_HEADERS 1
    1.21 +#define HAVE_STRING_H 1
    1.22 +#define HAVE_CTYPE_H 1
    1.23 +#define HAVE_MATH_H 1
    1.24 +#ifndef _WIN32_WCE
    1.25 +#define HAVE_SIGNAL_H 1
    1.26 +#endif
    1.27 +
    1.28 +/* C library functions */
    1.29 +#define HAVE_MALLOC 1
    1.30 +#define HAVE_CALLOC 1
    1.31 +#define HAVE_REALLOC 1
    1.32 +#define HAVE_FREE 1
    1.33 +#define HAVE_ALLOCA 1
    1.34 +#define HAVE_QSORT 1
    1.35 +#define HAVE_ABS 1
    1.36 +#define HAVE_MEMSET 1
    1.37 +#define HAVE_MEMCPY 1
    1.38 +#define HAVE_MEMMOVE 1
    1.39 +#define HAVE_MEMCMP 1
    1.40 +#define HAVE_STRLEN 1
    1.41 +#define HAVE__STRREV 1
    1.42 +#define HAVE__STRUPR 1
    1.43 +#define HAVE__STRLWR 1
    1.44 +#define HAVE_STRCHR 1
    1.45 +#define HAVE_STRRCHR 1
    1.46 +#define HAVE_STRSTR 1
    1.47 +#define HAVE_ITOA 1
    1.48 +#define HAVE__LTOA 1
    1.49 +#define HAVE__ULTOA 1
    1.50 +#define HAVE_STRTOL 1
    1.51 +#define HAVE_STRTOUL 1
    1.52 +#define HAVE_STRTOLL 1
    1.53 +#define HAVE_STRTOD 1
    1.54 +#define HAVE_ATOI 1
    1.55 +#define HAVE_ATOF 1
    1.56 +#define HAVE_STRCMP 1
    1.57 +#define HAVE_STRNCMP 1
    1.58 +#define HAVE_STRICMP 1
    1.59 +#define HAVE_STRCASECMP 1
    1.60 +#define HAVE_SSCANF 1
    1.61 +#else
    1.62  #define HAVE_STDARG_H	1
    1.63  #define HAVE_STDDEF_H	1
    1.64 +#endif
    1.65  
    1.66  /* Enable various audio drivers */
    1.67  #ifndef _WIN32_WCE