Skip to content

Latest commit

 

History

History
131 lines (116 loc) · 2.9 KB

SDL_config.h.in

File metadata and controls

131 lines (116 loc) · 2.9 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
/*
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 */
Feb 9, 2006
Feb 9, 2006
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* C language features */
#undef const
#undef inline
#undef volatile
/* C datatypes */
#undef size_t
#undef int8_t
#undef uint8_t
#undef int16_t
#undef uint16_t
#undef int32_t
#undef uint32_t
#undef SDL_HAS_64BIT_TYPE
#undef int64_t
#undef uint64_t
#undef uintptr_t
Feb 9, 2006
Feb 9, 2006
45
Feb 9, 2006
Feb 9, 2006
46
/* Comment this if you want to build without any C library requirements */
47
48
49
#undef HAVE_LIBC
#ifdef HAVE_LIBC
Feb 9, 2006
Feb 9, 2006
50
51
/* Useful headers */
#undef HAVE_SYS_TYPES_H
Feb 9, 2006
Feb 9, 2006
52
#undef HAVE_STDIO_H
Feb 9, 2006
Feb 9, 2006
53
#undef STDC_HEADERS
Feb 9, 2006
Feb 9, 2006
54
#undef HAVE_STDLIB_H
Feb 9, 2006
Feb 9, 2006
55
#undef HAVE_STDARG_H
Feb 9, 2006
Feb 9, 2006
56
#undef HAVE_MALLOC_H
Feb 9, 2006
Feb 9, 2006
57
#undef HAVE_MEMORY_H
Feb 9, 2006
Feb 9, 2006
58
#undef HAVE_STRING_H
Feb 9, 2006
Feb 9, 2006
59
60
61
#undef HAVE_STRINGS_H
#undef HAVE_INTTYPES_H
#undef HAVE_STDINT_H
62
#undef HAVE_CTYPE_H
Feb 9, 2006
Feb 9, 2006
63
#undef HAVE_SIGNAL_H
Feb 9, 2006
Feb 9, 2006
65
/* C library functions */
Feb 9, 2006
Feb 9, 2006
66
67
68
#undef HAVE_MALLOC
#undef HAVE_CALLOC
#undef HAVE_REALLOC
69
#undef HAVE_FREE
Feb 9, 2006
Feb 9, 2006
70
71
#undef HAVE_ALLOCA
#ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
72
73
#undef HAVE_GETENV
#undef HAVE_PUTENV
Feb 9, 2006
Feb 9, 2006
74
75
#undef HAVE_UNSETENV
#endif
76
#undef HAVE_QSORT
Feb 9, 2006
Feb 9, 2006
77
#undef HAVE_ABS
Feb 9, 2006
Feb 9, 2006
78
#undef HAVE_BCOPY
Feb 9, 2006
Feb 9, 2006
79
80
81
82
#undef HAVE_MEMSET
#undef HAVE_MEMCPY
#undef HAVE_MEMMOVE
#undef HAVE_MEMCMP
83
#undef HAVE_STRLEN
Feb 9, 2006
Feb 9, 2006
84
#undef HAVE_STRCPY
85
#undef HAVE_STRNCPY
Feb 9, 2006
Feb 9, 2006
86
87
88
89
90
91
#undef HAVE_STRCAT
#undef HAVE_STRNCAT
#undef HAVE_STRDUP
#undef HAVE__STRREV
#undef HAVE__STRUPR
#undef HAVE__STRLWR
Feb 9, 2006
Feb 9, 2006
92
93
#undef HAVE_INDEX
#undef HAVE_RINDEX
Feb 9, 2006
Feb 9, 2006
94
#undef HAVE_STRCHR
95
96
#undef HAVE_STRRCHR
#undef HAVE_STRSTR
Feb 9, 2006
Feb 9, 2006
97
#undef HAVE_ITOA
98
99
100
#undef HAVE__LTOA
#undef HAVE__UITOA
#undef HAVE__ULTOA
Feb 9, 2006
Feb 9, 2006
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#undef HAVE_STRTOL
#undef HAVE__I64TOA
#undef HAVE__UI64TOA
#undef HAVE_STRTOLL
#undef HAVE_STRTOD
#undef HAVE_ATOI
#undef HAVE_ATOF
#undef HAVE_STRCMP
#undef HAVE_STRNCMP
#undef HAVE_STRICMP
#undef HAVE_STRCASECMP
#undef HAVE_SSCANF
#undef HAVE_SNPRINTF
#undef HAVE_VSNPRINTF
115
116
117
#endif /* HAVE_LIBC */
Feb 9, 2006
Feb 9, 2006
118
119
120
121
122
123
124
125
126
127
128
129
130
/* Allow disabling of core subsystems */
#undef DISABLE_AUDIO
#undef DISABLE_VIDEO
#undef DISABLE_EVENTS
#undef DISABLE_JOYSTICK
#undef DISABLE_CDROM
#undef DISABLE_THREADS
#undef DISABLE_TIMERS
#undef DISABLE_ENDIAN
#undef DISABLE_FILE
#undef DISABLE_CPUINFO
131
#endif /* _SDL_config_h */