include/SDL_config.h
changeset 1330 450721ad5436
child 1331 1cbaeee565b1
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/include/SDL_config.h	Mon Feb 06 08:28:51 2006 +0000
     1.3 @@ -0,0 +1,87 @@
     1.4 +/*
     1.5 +    SDL - Simple DirectMedia Layer
     1.6 +    Copyright (C) 1997-2006 Sam Lantinga
     1.7 +
     1.8 +    This library is free software; you can redistribute it and/or
     1.9 +    modify it under the terms of the GNU Lesser General Public
    1.10 +    License as published by the Free Software Foundation; either
    1.11 +    version 2.1 of the License, or (at your option) any later version.
    1.12 +
    1.13 +    This library is distributed in the hope that it will be useful,
    1.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.16 +    Lesser General Public License for more details.
    1.17 +
    1.18 +    You should have received a copy of the GNU Lesser General Public
    1.19 +    License along with this library; if not, write to the Free Software
    1.20 +    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    1.21 +
    1.22 +    Sam Lantinga
    1.23 +    slouken@libsdl.org
    1.24 +*/
    1.25 +
    1.26 +#ifndef _SDL_config_h
    1.27 +#define _SDL_config_h
    1.28 +
    1.29 +/* This is a set of defines to configure the SDL features */
    1.30 +
    1.31 +#define HAVE_STDARG_H
    1.32 +
    1.33 +/* Comment this if you want to build without any libc requirements */
    1.34 +#define HAVE_LIBC
    1.35 +#ifdef HAVE_LIBC
    1.36 +
    1.37 +/* Various C library headers */
    1.38 +#define HAVE_CTYPE_H
    1.39 +#define HAVE_STDIO_H
    1.40 +#define HAVE_STDLIB_H
    1.41 +#define HAVE_MALLOC_H
    1.42 +#define HAVE_STRING_H
    1.43 +#if !defined(_WIN32_WCE)
    1.44 +#define HAVE_SIGNAL_H
    1.45 +#endif
    1.46 +
    1.47 +/* Features provided by SDL_stdlib.h */
    1.48 +#if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */
    1.49 +#define HAVE_GETENV
    1.50 +#define HAVE_PUTENV
    1.51 +#endif
    1.52 +#define HAVE_MALLOC
    1.53 +#define HAVE_REALLOC
    1.54 +#define HAVE_FREE
    1.55 +#define HAVE_ALLOCA
    1.56 +/*#define HAVE_QSORT*/
    1.57 +
    1.58 +/* Features provided by SDL_string.h */
    1.59 +#define HAVE_MEMSET
    1.60 +#define HAVE_MEMCPY
    1.61 +#define HAVE_MEMMOVE
    1.62 +#define HAVE_MEMCMP
    1.63 +#define HAVE_STRLEN
    1.64 +#define HAVE_STRCPY
    1.65 +#define HAVE_STRNCPY
    1.66 +/*#define HAVE__STRREV*/
    1.67 +/*#define HAVE__STRUPR*/
    1.68 +/*#define HAVE__STRLWR*/
    1.69 +#define HAVE_STRCHR
    1.70 +#define HAVE_STRRCHR
    1.71 +#define HAVE_STRSTR
    1.72 +/*#define HAVE_ITOA*/
    1.73 +/*#define HAVE__LTOA*/
    1.74 +/*#define HAVE__UITOA*/
    1.75 +/*#define HAVE__ULTOA*/
    1.76 +/*#define HAVE_STRTOL*/
    1.77 +/*#define HAVE__I64TOA*/
    1.78 +/*#define HAVE__UI64TOA*/
    1.79 +/*#define HAVE_STRTOLL*/
    1.80 +#define HAVE_STRCMP
    1.81 +#define HAVE_STRNCMP
    1.82 +/*#define HAVE_STRICMP*/
    1.83 +/*#define HAVE_STRCASECMP*/
    1.84 +#define HAVE_SSCANF
    1.85 +/*#define HAVE_SNPRINTF*/
    1.86 +#define HAVE_VSNPRINTF
    1.87 +
    1.88 +#endif /* HAVE_LIBC */
    1.89 +
    1.90 +#endif /* _SDL_config_h */