annotate include/SDL_config.h.in @ 1354:22f39393668a

Fixed build problem with SDL_string.c Officially deprecated SDL_byteorder.h, SDL_getenv.h and SDL_types.h Moved endian-related SDL_rwops code into SDL_rwops.c
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Feb 2006 09:38:05 +0000
parents 7ba544e2888d
children 19418e4422cb
rev   line source
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
1 /*
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
3 Copyright (C) 1997-2006 Sam Lantinga
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
4
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
9
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
13 Lesser General Public License for more details.
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
14
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
18
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
19 Sam Lantinga
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
20 slouken@libsdl.org
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
21 */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
22
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
23 #ifndef _SDL_config_h
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
24 #define _SDL_config_h
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
25
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 /* This is a set of defines to configure the SDL features */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
28 /* C language features */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
29 #undef const
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
30 #undef inline
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
31 #undef volatile
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
32
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
33 /* C datatypes */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
34 #undef size_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
35 #undef int8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
36 #undef uint8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
37 #undef int16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
38 #undef uint16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
39 #undef int32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
40 #undef uint32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
41 #undef SDL_HAS_64BIT_TYPE
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
42 #undef int64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
43 #undef uint64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
44 #undef uintptr_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
45
1354
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
46 /* Endianness */
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
47 #undef SDL_BYTEORDER
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
48
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
49 /* Comment this if you want to build without any C library requirements */
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
50 #undef HAVE_LIBC
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
51 #ifdef HAVE_LIBC
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
52
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
53 /* Useful headers */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
54 #undef HAVE_SYS_TYPES_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
55 #undef HAVE_STDIO_H
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
56 #undef STDC_HEADERS
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
57 #undef HAVE_STDLIB_H
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
58 #undef HAVE_STDARG_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
59 #undef HAVE_MALLOC_H
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
60 #undef HAVE_MEMORY_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
61 #undef HAVE_STRING_H
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
62 #undef HAVE_STRINGS_H
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
63 #undef HAVE_INTTYPES_H
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
64 #undef HAVE_STDINT_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
65 #undef HAVE_CTYPE_H
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
66 #undef HAVE_SIGNAL_H
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
67
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
68 /* C library functions */
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
69 #undef HAVE_MALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
70 #undef HAVE_CALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
71 #undef HAVE_REALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
72 #undef HAVE_FREE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
73 #undef HAVE_ALLOCA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
74 #ifndef _WIN32 /* Don't use C runtime versions of these on Windows */
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
75 #undef HAVE_GETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
76 #undef HAVE_PUTENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
77 #undef HAVE_UNSETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
78 #endif
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
79 #undef HAVE_QSORT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
80 #undef HAVE_ABS
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
81 #undef HAVE_BCOPY
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
82 #undef HAVE_MEMSET
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
83 #undef HAVE_MEMCPY
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
84 #undef HAVE_MEMMOVE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
85 #undef HAVE_MEMCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
86 #undef HAVE_STRLEN
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
87 #undef HAVE_STRCPY
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
88 #undef HAVE_STRNCPY
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
89 #undef HAVE_STRCAT
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
90 #undef HAVE_STRNCAT
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
91 #undef HAVE_STRDUP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
92 #undef HAVE__STRREV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
93 #undef HAVE__STRUPR
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
94 #undef HAVE__STRLWR
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
95 #undef HAVE_INDEX
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
96 #undef HAVE_RINDEX
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
97 #undef HAVE_STRCHR
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
98 #undef HAVE_STRRCHR
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 #undef HAVE_STRSTR
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
100 #undef HAVE_ITOA
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
101 #undef HAVE__LTOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
102 #undef HAVE__UITOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
103 #undef HAVE__ULTOA
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
104 #undef HAVE_STRTOL
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
105 #undef HAVE__I64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
106 #undef HAVE__UI64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
107 #undef HAVE_STRTOLL
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
108 #undef HAVE_STRTOD
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
109 #undef HAVE_ATOI
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
110 #undef HAVE_ATOF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
111 #undef HAVE_STRCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
112 #undef HAVE_STRNCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
113 #undef HAVE_STRICMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
114 #undef HAVE_STRCASECMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
115 #undef HAVE_SSCANF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
116 #undef HAVE_SNPRINTF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
117 #undef HAVE_VSNPRINTF
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
118
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
119 #endif /* HAVE_LIBC */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
120
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
121
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
122 /* Allow disabling of core subsystems */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
123 #undef DISABLE_AUDIO
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
124 #undef DISABLE_VIDEO
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
125 #undef DISABLE_EVENTS
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
126 #undef DISABLE_JOYSTICK
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
127 #undef DISABLE_CDROM
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
128 #undef DISABLE_THREADS
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
129 #undef DISABLE_TIMERS
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
130 #undef DISABLE_FILE
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
131 #undef DISABLE_CPUINFO
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
132
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
133 #endif /* _SDL_config_h */