annotate include/SDL_config.h.in @ 5006:8e8876e4aec6

Include windows.h in SDL_atomic.h by default, but don't include the atomic API in SDL.h This allows all SDL code to take advantage of the atomic intrinsics on Windows, but doesn't cause applications just including SDL.h to pull in windows.h
author Sam Lantinga <slouken@libsdl.org>
date Sun, 16 Jan 2011 17:45:42 -0800
parents 0c72ae7b7cb2
children 3ce345cc46f8
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
2859
99210400e8b9 Updated copyright date
Sam Lantinga <slouken@libsdl.org>
parents: 2810
diff changeset
3 Copyright (C) 1997-2009 Sam Lantinga
1341
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
3407
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3405
diff changeset
26 /**
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3405
diff changeset
27 * \file SDL_config.h.in
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3405
diff changeset
28 *
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3405
diff changeset
29 * This is a set of defines to configure the SDL features
d3baf5ac4e37 Partial fix for bug #859
Sam Lantinga <slouken@libsdl.org>
parents: 3405
diff changeset
30 */
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
31
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
32 /* General platform specific identifiers */
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
33 #include "SDL_platform.h"
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
34
2175
2590d4e5fb89 Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents: 2126
diff changeset
35 /* Make sure that this isn't included by Visual C++ */
2590d4e5fb89 Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents: 2126
diff changeset
36 #ifdef _MSC_VER
2590d4e5fb89 Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents: 2126
diff changeset
37 #error You should copy include/SDL_config.h.default to include/SDL_config.h
2590d4e5fb89 Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents: 2126
diff changeset
38 #endif
2590d4e5fb89 Warn Visual C++ users if they have a stale configure generated SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents: 2126
diff changeset
39
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
40 /* C language features */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
41 #undef const
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
42 #undef inline
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
43 #undef volatile
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
44
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
45 /* C datatypes */
3220
6290f9bd097d Better check which includes #define used in stdint.h
Sam Lantinga <slouken@libsdl.org>
parents: 3180
diff changeset
46 #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
47 #undef size_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
48 #undef int8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
49 #undef uint8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
50 #undef int16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
51 #undef uint16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
52 #undef int32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
53 #undef uint32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
54 #undef int64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
55 #undef uint64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
56 #undef uintptr_t
3220
6290f9bd097d Better check which includes #define used in stdint.h
Sam Lantinga <slouken@libsdl.org>
parents: 3180
diff changeset
57 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
6290f9bd097d Better check which includes #define used in stdint.h
Sam Lantinga <slouken@libsdl.org>
parents: 3180
diff changeset
58
3180
77d6336711fc First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents: 3173
diff changeset
59 #undef SIZEOF_VOIDP
1383
1736c5e2173f NetBSD support
Sam Lantinga <slouken@libsdl.org>
parents: 1379
diff changeset
60 #undef SDL_HAS_64BIT_TYPE
5004
0c72ae7b7cb2 Added native atomic operations for Windows, Mac OS X, and gcc compiler intrinsics.
Sam Lantinga <slouken@libsdl.org>
parents: 4873
diff changeset
61 #undef HAVE_GCC_ATOMICS
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
62
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
63 /* 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
64 #undef HAVE_LIBC
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
65 #if HAVE_LIBC
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
66
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
67 /* Useful headers */
1367
e440d5c488c1 Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents: 1361
diff changeset
68 #undef HAVE_ALLOCA_H
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
69 #undef HAVE_SYS_TYPES_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
70 #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
71 #undef STDC_HEADERS
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
72 #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
73 #undef HAVE_STDARG_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
74 #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
75 #undef HAVE_MEMORY_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
76 #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
77 #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
78 #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
79 #undef HAVE_STDINT_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
80 #undef HAVE_CTYPE_H
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
81 #undef HAVE_MATH_H
1501
73dc5d39bbf8 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents: 1461
diff changeset
82 #undef HAVE_ICONV_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
83 #undef HAVE_SIGNAL_H
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
84 #undef HAVE_ALTIVEC_H
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
85
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
86 /* C library functions */
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
87 #undef HAVE_MALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
88 #undef HAVE_CALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
89 #undef HAVE_REALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
90 #undef HAVE_FREE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
91 #undef HAVE_ALLOCA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
92 #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
93 #undef HAVE_GETENV
3581
15eea7a1fa97 Implemented SDL_setenv(), moved SDL_putenv() to compat.
Ryan C. Gordon <icculus@icculus.org>
parents: 3579
diff changeset
94 #undef HAVE_SETENV
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
95 #undef HAVE_PUTENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
96 #undef HAVE_UNSETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
97 #endif
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
98 #undef HAVE_QSORT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 #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
100 #undef HAVE_BCOPY
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
101 #undef HAVE_MEMSET
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
102 #undef HAVE_MEMCPY
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
103 #undef HAVE_MEMMOVE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
104 #undef HAVE_MEMCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
105 #undef HAVE_STRLEN
1379
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
106 #undef HAVE_STRLCPY
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
107 #undef HAVE_STRLCAT
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
108 #undef HAVE_STRDUP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
109 #undef HAVE__STRREV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
110 #undef HAVE__STRUPR
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
111 #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
112 #undef HAVE_INDEX
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
113 #undef HAVE_RINDEX
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
114 #undef HAVE_STRCHR
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
115 #undef HAVE_STRRCHR
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
116 #undef HAVE_STRSTR
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
117 #undef HAVE_ITOA
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
118 #undef HAVE__LTOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
119 #undef HAVE__UITOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
120 #undef HAVE__ULTOA
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
121 #undef HAVE_STRTOL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
122 #undef HAVE_STRTOUL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
123 #undef HAVE__I64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
124 #undef HAVE__UI64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
125 #undef HAVE_STRTOLL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
126 #undef HAVE_STRTOULL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
127 #undef HAVE_STRTOD
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
128 #undef HAVE_ATOI
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
129 #undef HAVE_ATOF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
130 #undef HAVE_STRCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
131 #undef HAVE_STRNCMP
1510
720f8bb49d7d Win32 fixes
Sam Lantinga <slouken@libsdl.org>
parents: 1501
diff changeset
132 #undef HAVE__STRICMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
133 #undef HAVE_STRCASECMP
1512
845b1619c8f6 Added _strnicmp support
Sam Lantinga <slouken@libsdl.org>
parents: 1510
diff changeset
134 #undef HAVE__STRNICMP
1501
73dc5d39bbf8 Added UTF-8 <-> UTF-16 <-> UTF-32 <-> UCS-2 <-> UCS-4 conversion capability
Sam Lantinga <slouken@libsdl.org>
parents: 1461
diff changeset
135 #undef HAVE_STRNCASECMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
136 #undef HAVE_SSCANF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
137 #undef HAVE_SNPRINTF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
138 #undef HAVE_VSNPRINTF
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
139 #undef HAVE_M_PI
4873
67ad1c88dda0 Added atan implementation from uClibc
Sam Lantinga <slouken@libsdl.org>
parents: 4870
diff changeset
140 #undef HAVE_ATAN
4870
d275c95ddc05 Added atan2 implementation from uClibc
Sam Lantinga <slouken@libsdl.org>
parents: 4862
diff changeset
141 #undef HAVE_ATAN2
3032
77c3e67f0740 Fixed Visual C++ build
Sam Lantinga <slouken@libsdl.org>
parents: 3025
diff changeset
142 #undef HAVE_CEIL
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
143 #undef HAVE_COPYSIGN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
144 #undef HAVE_COS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
145 #undef HAVE_COSF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
146 #undef HAVE_FABS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
147 #undef HAVE_FLOOR
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
148 #undef HAVE_LOG
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
149 #undef HAVE_POW
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
150 #undef HAVE_SCALBN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
151 #undef HAVE_SIN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
152 #undef HAVE_SINF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
153 #undef HAVE_SQRT
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
154 #undef HAVE_SIGACTION
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
155 #undef HAVE_SETJMP
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
156 #undef HAVE_NANOSLEEP
3586
b6758aee0dd4 Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.
Sam Lantinga <slouken@libsdl.org>
parents: 3581
diff changeset
157 #undef HAVE_SYSCONF
3579
3427271a2d75 Added SDL_GetCPUCount() to see how many cores are available.
Sam Lantinga <slouken@libsdl.org>
parents: 3426
diff changeset
158 #undef HAVE_SYSCTLBYNAME
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
159 #undef HAVE_CLOCK_GETTIME
2093
cdaeb26ed66a Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.
Ryan C. Gordon <icculus@icculus.org>
parents: 2070
diff changeset
160 #undef HAVE_GETPAGESIZE
3405
d5f2dd33f4eb Merged improvements to SDL_SoftStretch() from SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 3394
diff changeset
161 #undef HAVE_MPROTECT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
162
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
163 #else
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
164 /* We may need some replacement for stdarg.h here */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
165 #include <stdarg.h>
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
166 #endif /* HAVE_LIBC */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
167
3647
c5925cd41955 First pass at Ryan's assertion code, minor tweaks to come.
Sam Lantinga <slouken@libsdl.org>
parents: 3586
diff changeset
168 /* SDL internal assertion support */
3649
1e74d7984d0b The config sets the default assertion level so people can override it for their own use in application code.
Sam Lantinga <slouken@libsdl.org>
parents: 3647
diff changeset
169 #undef SDL_DEFAULT_ASSERT_LEVEL
3647
c5925cd41955 First pass at Ryan's assertion code, minor tweaks to come.
Sam Lantinga <slouken@libsdl.org>
parents: 3586
diff changeset
170
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
171 /* Allow disabling of core subsystems */
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
172 #undef SDL_AUDIO_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
173 #undef SDL_CPUINFO_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
174 #undef SDL_EVENTS_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
175 #undef SDL_FILE_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
176 #undef SDL_JOYSTICK_DISABLED
2713
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
177 #undef SDL_HAPTIC_DISABLED
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
178 #undef SDL_LOADSO_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
179 #undef SDL_THREADS_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
180 #undef SDL_TIMERS_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
181 #undef SDL_VIDEO_DISABLED
3170
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
182 #undef SDL_POWER_DISABLED
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
183
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
184 /* Enable various audio drivers */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
185 #undef SDL_AUDIO_DRIVER_ALSA
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
186 #undef SDL_AUDIO_DRIVER_ALSA_DYNAMIC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
187 #undef SDL_AUDIO_DRIVER_ARTS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
188 #undef SDL_AUDIO_DRIVER_ARTS_DYNAMIC
2271
60b4c52a7906 Ported PulseAudio target from 1.2 to 1.3 interfaces, and added it to the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 2247
diff changeset
189 #undef SDL_AUDIO_DRIVER_PULSEAUDIO
60b4c52a7906 Ported PulseAudio target from 1.2 to 1.3 interfaces, and added it to the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 2247
diff changeset
190 #undef SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC
2049
5f6550e5184f Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 1981
diff changeset
191 #undef SDL_AUDIO_DRIVER_BEOSAUDIO
1568
1f3f39f9cfcf *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1567
diff changeset
192 #undef SDL_AUDIO_DRIVER_BSD
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
193 #undef SDL_AUDIO_DRIVER_COREAUDIO
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
194 #undef SDL_AUDIO_DRIVER_DISK
1532
30f189cdd82b Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents: 1512
diff changeset
195 #undef SDL_AUDIO_DRIVER_DUMMY
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
196 #undef SDL_AUDIO_DRIVER_DMEDIA
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
197 #undef SDL_AUDIO_DRIVER_DSOUND
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
198 #undef SDL_AUDIO_DRIVER_ESD
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
199 #undef SDL_AUDIO_DRIVER_ESD_DYNAMIC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
200 #undef SDL_AUDIO_DRIVER_MMEAUDIO
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
201 #undef SDL_AUDIO_DRIVER_NAS
2049
5f6550e5184f Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 1981
diff changeset
202 #undef SDL_AUDIO_DRIVER_NAS_DYNAMIC
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
203 #undef SDL_AUDIO_DRIVER_NDS
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
204 #undef SDL_AUDIO_DRIVER_OSS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
205 #undef SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H
2049
5f6550e5184f Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
Ryan C. Gordon <icculus@icculus.org>
parents: 1981
diff changeset
206 #undef SDL_AUDIO_DRIVER_PAUDIO
3099
82e60908fab1 Date: Mon, 23 Mar 2009 09:17:24 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3087
diff changeset
207 #undef SDL_AUDIO_DRIVER_QSA
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
208 #undef SDL_AUDIO_DRIVER_SUNAUDIO
2070
dbfa1ebd73b0 Fixed building of Windows waveout audio.
Ryan C. Gordon <icculus@icculus.org>
parents: 2062
diff changeset
209 #undef SDL_AUDIO_DRIVER_WINWAVEOUT
2947
fec0db6c44b7 Date: Thu, 01 Jan 2009 21:32:12 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
210 #undef SDL_AUDIO_DRIVER_FUSIONSOUND
fec0db6c44b7 Date: Thu, 01 Jan 2009 21:32:12 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
211 #undef SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
212
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
213 /* Enable various input drivers */
2276
82f1c4c3d13a Merged r3449:3450 from branches/SDL-1.2: SDL_config.h.in Linux joystick fix.
Ryan C. Gordon <icculus@icculus.org>
parents: 2271
diff changeset
214 #undef SDL_INPUT_LINUXEV
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
215 #undef SDL_INPUT_TSLIB
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
216 #undef SDL_JOYSTICK_BEOS
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
217 #undef SDL_JOYSTICK_DINPUT
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
218 #undef SDL_JOYSTICK_DUMMY
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
219 #undef SDL_JOYSTICK_IOKIT
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
220 #undef SDL_JOYSTICK_LINUX
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
221 #undef SDL_JOYSTICK_NDS
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
222 #undef SDL_JOYSTICK_RISCOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
223 #undef SDL_JOYSTICK_WINMM
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
224 #undef SDL_JOYSTICK_USBHID
1565
57431b199aed Fixed bug #52
Sam Lantinga <slouken@libsdl.org>
parents: 1532
diff changeset
225 #undef SDL_JOYSTICK_USBHID_MACHINE_JOYSTICK_H
2713
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
226 #undef SDL_HAPTIC_DUMMY
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
227 #undef SDL_HAPTIC_LINUX
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
228 #undef SDL_HAPTIC_IOKIT
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
229 #undef SDL_HAPTIC_DINPUT
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
230
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
231 /* Enable various shared object loading systems */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
232 #undef SDL_LOADSO_BEOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
233 #undef SDL_LOADSO_DLCOMPAT
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
234 #undef SDL_LOADSO_DLOPEN
1635
92947e3a18db Make sure code is only compiled if the appropriate subsystem is enabled
Sam Lantinga <slouken@libsdl.org>
parents: 1589
diff changeset
235 #undef SDL_LOADSO_DUMMY
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
236 #undef SDL_LOADSO_LDG
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
237 #undef SDL_LOADSO_WIN32
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
238
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
239 /* Enable various threading systems */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
240 #undef SDL_THREAD_BEOS
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
241 #undef SDL_THREAD_NDS
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
242 #undef SDL_THREAD_PTHREAD
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
243 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
244 #undef SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
245 #undef SDL_THREAD_SPROC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
246 #undef SDL_THREAD_WIN32
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
247
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
248 /* Enable various timer systems */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
249 #undef SDL_TIMER_BEOS
1635
92947e3a18db Make sure code is only compiled if the appropriate subsystem is enabled
Sam Lantinga <slouken@libsdl.org>
parents: 1589
diff changeset
250 #undef SDL_TIMER_DUMMY
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
251 #undef SDL_TIMER_NDS
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
252 #undef SDL_TIMER_RISCOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
253 #undef SDL_TIMER_UNIX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
254 #undef SDL_TIMER_WIN32
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
255 #undef SDL_TIMER_WINCE
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
256
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
257 /* Enable various video drivers */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
258 #undef SDL_VIDEO_DRIVER_BWINDOW
1931
103c6fec2a60 The Mac OS X Cocoa video driver is under construction...
Sam Lantinga <slouken@libsdl.org>
parents: 1895
diff changeset
259 #undef SDL_VIDEO_DRIVER_COCOA
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
260 #undef SDL_VIDEO_DRIVER_DIRECTFB
2998
d364ee9b9c15 Date: Sun, 04 Jan 2009 20:53:30 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2947
diff changeset
261 #undef SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
262 #undef SDL_VIDEO_DRIVER_DUMMY
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
263 #undef SDL_VIDEO_DRIVER_FBCON
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
264 #undef SDL_VIDEO_DRIVER_NDS
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
265 #undef SDL_VIDEO_DRIVER_PHOTON
3083
0bc41e0361d3 Date: Mon, 2 Mar 2009 16:27:42 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3032
diff changeset
266 #undef SDL_VIDEO_DRIVER_QNXGF
3257
94fb40a4a9a7 Merged Martin's code changes from Google Summer of Code 2009
Sam Lantinga <slouken@libsdl.org>
parents: 3243
diff changeset
267 #undef SDL_VIDEO_DRIVER_PS3
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
268 #undef SDL_VIDEO_DRIVER_RISCOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
269 #undef SDL_VIDEO_DRIVER_SVGALIB
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
270 #undef SDL_VIDEO_DRIVER_WIN32
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
271 #undef SDL_VIDEO_DRIVER_X11
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
272 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
273 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
1589
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
274 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
275 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER
2763
6fc50bdd88c0 Some cleanups on the new XInput code.
Ryan C. Gordon <icculus@icculus.org>
parents: 2735
diff changeset
276 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT
3025
54fac87e1f34 Added an API to enable/disable the screen saver.
Sam Lantinga <slouken@libsdl.org>
parents: 3012
diff changeset
277 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
4604
d7535d7a40ea Integrate XFixes and XDamage into the build system.
Sunny Sachanandani <sunnysachanandani@gmail.com>
parents: 4577
diff changeset
278 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XDAMAGE
d7535d7a40ea Integrate XFixes and XDamage into the build system.
Sunny Sachanandani <sunnysachanandani@gmail.com>
parents: 4577
diff changeset
279 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
280 #undef SDL_VIDEO_DRIVER_X11_VIDMODE
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
281 #undef SDL_VIDEO_DRIVER_X11_XINERAMA
1589
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
282 #undef SDL_VIDEO_DRIVER_X11_XRANDR
2763
6fc50bdd88c0 Some cleanups on the new XInput code.
Ryan C. Gordon <icculus@icculus.org>
parents: 2735
diff changeset
283 #undef SDL_VIDEO_DRIVER_X11_XINPUT
3025
54fac87e1f34 Added an API to enable/disable the screen saver.
Sam Lantinga <slouken@libsdl.org>
parents: 3012
diff changeset
284 #undef SDL_VIDEO_DRIVER_X11_SCRNSAVER
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
285 #undef SDL_VIDEO_DRIVER_X11_XV
4570
36fad921c97f Adding a few #defines for Xrender support.
Sunny Sachanandani <sunnysachanandani@gmail.com>
parents: 3696
diff changeset
286 #undef SDL_VIDEO_DRIVER_X11_XRENDER
4604
d7535d7a40ea Integrate XFixes and XDamage into the build system.
Sunny Sachanandani <sunnysachanandani@gmail.com>
parents: 4577
diff changeset
287 #undef SDL_VIDEO_DRIVER_X11_XDAMAGE
d7535d7a40ea Integrate XFixes and XDamage into the build system.
Sunny Sachanandani <sunnysachanandani@gmail.com>
parents: 4577
diff changeset
288 #undef SDL_VIDEO_DRIVER_X11_XFIXES
4793
cb31d2fdbe61 Add XShape test to configure scripts.
Ryan C. Gordon <icculus@icculus.org>
parents: 3696
diff changeset
289 #undef SDL_VIDEO_DRIVER_X11_XSHAPE
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
290
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
291 #undef SDL_VIDEO_RENDER_D3D
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
292 #undef SDL_VIDEO_RENDER_GDI
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
293 #undef SDL_VIDEO_RENDER_OGL
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3083
diff changeset
294 #undef SDL_VIDEO_RENDER_OGL_ES
2810
27cb878a278e Implemented the X11 (non-OpenGL) renderer, no alpha or scaling available.
Sam Lantinga <slouken@libsdl.org>
parents: 2763
diff changeset
295 #undef SDL_VIDEO_RENDER_X11
3168
Sam Lantinga <slouken@libsdl.org>
parents: 3099
diff changeset
296 #undef SDL_VIDEO_RENDER_GAPI
Sam Lantinga <slouken@libsdl.org>
parents: 3099
diff changeset
297 #undef SDL_VIDEO_RENDER_DDRAW
1895
c121d94672cb SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents: 1855
diff changeset
298
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
299 /* Enable OpenGL support */
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
300 #undef SDL_VIDEO_OPENGL
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3083
diff changeset
301 #undef SDL_VIDEO_OPENGL_ES
1952
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
302 #undef SDL_VIDEO_OPENGL_BGL
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
303 #undef SDL_VIDEO_OPENGL_CGL
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
304 #undef SDL_VIDEO_OPENGL_GLX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
305 #undef SDL_VIDEO_OPENGL_WGL
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
306 #undef SDL_VIDEO_OPENGL_OSMESA
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
307 #undef SDL_VIDEO_OPENGL_OSMESA_DYNAMIC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
308
3170
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
309 /* Enable system power support */
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
310 #undef SDL_POWER_LINUX
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
311 #undef SDL_POWER_WINDOWS
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
312 #undef SDL_POWER_MACOSX
3173
510e3f36c04a BeOS support for power subsystem.
Ryan C. Gordon <icculus@icculus.org>
parents: 3170
diff changeset
313 #undef SDL_POWER_BEOS
3170
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
314 #undef SDL_POWER_NINTENDODS
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
315 #undef SDL_POWER_HARDWIRED
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
316
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
317 /* Enable assembly routines */
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
318 #undef SDL_ASSEMBLY_ROUTINES
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
319 #undef SDL_ALTIVEC_BLITTERS
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
320
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
321 #endif /* _SDL_config_h */