Skip to content

Latest commit

 

History

History
101 lines (88 loc) · 2.45 KB

SDL_config.h

File metadata and controls

101 lines (88 loc) · 2.45 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2006 Sam Lantinga
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Sam Lantinga
slouken@libsdl.org
*/
#ifndef _SDL_config_h
#define _SDL_config_h
/* This is a set of defines to configure the SDL features */
#define HAVE_STDARG_H
/* Comment this if you want to build without any libc requirements */
#define HAVE_LIBC
#ifdef HAVE_LIBC
/* Various C library headers */
Feb 6, 2006
Feb 6, 2006
35
#ifndef HAVE_CTYPE_H
Feb 6, 2006
Feb 6, 2006
37
38
#endif
#ifndef HAVE_STDIO_H
Feb 6, 2006
Feb 6, 2006
40
41
#endif
#ifndef HAVE_STDLIB_H
Feb 6, 2006
Feb 6, 2006
43
44
#endif
#ifndef HAVE_MALLOC_H
Feb 6, 2006
Feb 6, 2006
46
47
#endif
#ifndef HAVE_STRING_H
Feb 6, 2006
Feb 6, 2006
49
#endif
50
#if !defined(_WIN32_WCE)
Feb 6, 2006
Feb 6, 2006
51
#ifndef HAVE_SIGNAL_H
52
53
#define HAVE_SIGNAL_H
#endif
Feb 6, 2006
Feb 6, 2006
54
#endif /* !_WIN32_WCE */
55
56
57
58
59
60
61
62
63
/* Features provided by SDL_stdlib.h */
#if !defined(_WIN32) /* Don't use C runtime versions of these on Windows */
#define HAVE_GETENV
#define HAVE_PUTENV
#endif
#define HAVE_MALLOC
#define HAVE_REALLOC
#define HAVE_FREE
Feb 6, 2006
Feb 6, 2006
64
#ifndef HAVE_ALLOCA
Feb 6, 2006
Feb 6, 2006
66
#endif
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*#define HAVE_QSORT*/
/* Features provided by SDL_string.h */
#define HAVE_MEMSET
#define HAVE_MEMCPY
#define HAVE_MEMMOVE
#define HAVE_MEMCMP
#define HAVE_STRLEN
#define HAVE_STRCPY
#define HAVE_STRNCPY
/*#define HAVE__STRREV*/
/*#define HAVE__STRUPR*/
/*#define HAVE__STRLWR*/
#define HAVE_STRCHR
#define HAVE_STRRCHR
#define HAVE_STRSTR
/*#define HAVE_ITOA*/
/*#define HAVE__LTOA*/
/*#define HAVE__UITOA*/
/*#define HAVE__ULTOA*/
/*#define HAVE_STRTOL*/
/*#define HAVE__I64TOA*/
/*#define HAVE__UI64TOA*/
/*#define HAVE_STRTOLL*/
#define HAVE_STRCMP
#define HAVE_STRNCMP
/*#define HAVE_STRICMP*/
/*#define HAVE_STRCASECMP*/
#define HAVE_SSCANF
/*#define HAVE_SNPRINTF*/
#define HAVE_VSNPRINTF
#endif /* HAVE_LIBC */
#endif /* _SDL_config_h */