annotate include/SDL_config.h.in @ 3487:24d13328c44a

Eric Wing to Sam, hfutrell This one is quite puzzling. I found a partial workaround, but I don't fully understand the reasons yet. First, the console is complaining about not finding a nib for MainWindow. I tried removing the entry for this in the info.plist, and the message went away, but it didn't really change anything. Second, I stepped through this with the debugger and broke up some lines. It seems that the basic act of calling view = [SDL_uikitopenglview alloc]; or even view = [SDL_uikitview alloc] will crash the program. The debugger messages plus the stack trace make me think it's not finding the SDL_uikitview classes for some reason. But I don't understand why this would be. view = [UIView alloc] will not crash the program. For kicks, I added a new definition of a class called SDL_object which subclasses NSObject in the same files as SDL_uikitopenglview and then call view = [SDL_object alloc]; This does not crash the program. So, then I modified SDL_object to subclass UIView. No crash. Next, I made SDL_object subclass UIView<UITextFieldDelegate> . This crashes. So it is the act of conforming to the UITextFieldDelegate protocol that is crashing things. I don't understand why it would crash on alloc though. I'm guessing either a delegate needs to be set somewhere or one of the required methods needs to be implemented. But in the former case, I would not expect a crash, but a silent message to nil and something else doesn't work. And in the latter case, I would expect a compiler warning and an exception thrown instead of a crash. Anyway, my temporary workaround is to change the interface declaration for SDL_uikitview to look like: #if SDL_IPHONE_KEYBOARD @interface SDL_uikitview : UIView<UITextFieldDelegate> { #else @interface SDL_uikitview : UIView { #endif And then disable the keyboard support in the SDL_config_iphoneos.h file. /* enable iPhone keyboard support */ #define SDL_IPHONE_KEYBOARD 0 -Eric On Nov 23, 2009, at 1:43 AM, Sam Lantinga wrote: > I ran into a blocking startup crash with the Happy demo on iPhone OS 3.1.2 on my new iPhone: > > #0 0x323fea14 in _class_isInitialized > #1 0x323fea68 in _class_initialize > #2 0x32403e92 in prepareForMethodLookup > #3 0x32401244 in lookUpMethod > #4 0x323fea10 in _class_lookupMethodAndLoadCache > #5 0x323fe746 in objc_msgSend_uncached > #6 0x323feb26 in _class_initialize > #7 0x323fea58 in _class_initialize > #8 0x32403e92 in prepareForMethodLookup > #9 0x32401244 in lookUpMethod > #10 0x323fea10 in _class_lookupMethodAndLoadCache > #11 0x323fe746 in objc_msgSend_uncached > #12 0x000554dc in UIKit_GL_CreateContext at SDL_uikitopengles.m:103 > #13 0x0004f89e in SDL_GL_CreateContext at SDL_video.c:3155 > #14 0x000579e8 in GLES_CreateRenderer at SDL_renderer_gles.c:282 > #15 0x0004d7b8 in SDL_CreateRenderer at SDL_video.c:1509 > #16 0x00002bc2 in SDL_main at happy.c:156 > #17 0x000571b2 in -[SDLUIKitDelegate postFinishLaunch] at > SDL_uikitappdelegate.m:77 > #18 0x313f9ef2 in __NSFireDelayedPerform > #19 0x32567bb2 in CFRunLoopRunSpecific > #20 0x3256735c in CFRunLoopRunInMode > #21 0x32912cbe in GSEventRunModal > #22 0x32912d6a in GSEventRun > #23 0x32b6276e in -[UIApplication _run] > #24 0x32b61472 in UIApplicationMain > #25 0x00057088 in main at SDL_uikitappdelegate.m:50 > > Any ideas? > > See ya! > -- > -Sam Lantinga, Founder and President, Galaxy Gameworks LLC
author Sam Lantinga <slouken@libsdl.org>
date Tue, 24 Nov 2009 08:12:32 +0000
parents ee0178f1c507
children 3427271a2d75
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
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
61
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
62 /* 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
63 #undef HAVE_LIBC
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
64 #if HAVE_LIBC
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
65
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
66 /* Useful headers */
1367
e440d5c488c1 Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents: 1361
diff changeset
67 #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
68 #undef HAVE_SYS_TYPES_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
69 #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
70 #undef STDC_HEADERS
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
71 #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
72 #undef HAVE_STDARG_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
73 #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
74 #undef HAVE_MEMORY_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
75 #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
76 #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
77 #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
78 #undef HAVE_STDINT_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
79 #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
80 #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
81 #undef HAVE_ICONV_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
82 #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
83 #undef HAVE_ALTIVEC_H
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
84
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
85 /* C library functions */
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
86 #undef HAVE_MALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
87 #undef HAVE_CALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
88 #undef HAVE_REALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
89 #undef HAVE_FREE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
90 #undef HAVE_ALLOCA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
91 #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
92 #undef HAVE_GETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
93 #undef HAVE_PUTENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
94 #undef HAVE_UNSETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
95 #endif
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
96 #undef HAVE_QSORT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
97 #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
98 #undef HAVE_BCOPY
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
99 #undef HAVE_MEMSET
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
100 #undef HAVE_MEMCPY
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
101 #undef HAVE_MEMMOVE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
102 #undef HAVE_MEMCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
103 #undef HAVE_STRLEN
1379
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
104 #undef HAVE_STRLCPY
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
105 #undef HAVE_STRLCAT
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
106 #undef HAVE_STRDUP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
107 #undef HAVE__STRREV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
108 #undef HAVE__STRUPR
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
109 #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
110 #undef HAVE_INDEX
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
111 #undef HAVE_RINDEX
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
112 #undef HAVE_STRCHR
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
113 #undef HAVE_STRRCHR
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
114 #undef HAVE_STRSTR
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
115 #undef HAVE_ITOA
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
116 #undef HAVE__LTOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
117 #undef HAVE__UITOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
118 #undef HAVE__ULTOA
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
119 #undef HAVE_STRTOL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
120 #undef HAVE_STRTOUL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
121 #undef HAVE__I64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
122 #undef HAVE__UI64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
123 #undef HAVE_STRTOLL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
124 #undef HAVE_STRTOULL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
125 #undef HAVE_STRTOD
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
126 #undef HAVE_ATOI
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
127 #undef HAVE_ATOF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
128 #undef HAVE_STRCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
129 #undef HAVE_STRNCMP
1510
720f8bb49d7d Win32 fixes
Sam Lantinga <slouken@libsdl.org>
parents: 1501
diff changeset
130 #undef HAVE__STRICMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
131 #undef HAVE_STRCASECMP
1512
845b1619c8f6 Added _strnicmp support
Sam Lantinga <slouken@libsdl.org>
parents: 1510
diff changeset
132 #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
133 #undef HAVE_STRNCASECMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
134 #undef HAVE_SSCANF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
135 #undef HAVE_SNPRINTF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
136 #undef HAVE_VSNPRINTF
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
137 #undef HAVE_M_PI
3032
77c3e67f0740 Fixed Visual C++ build
Sam Lantinga <slouken@libsdl.org>
parents: 3025
diff changeset
138 #undef HAVE_CEIL
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
139 #undef HAVE_COPYSIGN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
140 #undef HAVE_COS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
141 #undef HAVE_COSF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
142 #undef HAVE_FABS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
143 #undef HAVE_FLOOR
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
144 #undef HAVE_LOG
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
145 #undef HAVE_POW
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
146 #undef HAVE_SCALBN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
147 #undef HAVE_SIN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
148 #undef HAVE_SINF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
149 #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
150 #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
151 #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
152 #undef HAVE_NANOSLEEP
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
153 #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
154 #undef HAVE_GETPAGESIZE
3405
d5f2dd33f4eb Merged improvements to SDL_SoftStretch() from SDL 1.2
Sam Lantinga <slouken@libsdl.org>
parents: 3394
diff changeset
155 #undef HAVE_MPROTECT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
156
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
157 #else
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
158 /* 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
159 #include <stdarg.h>
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
160 #endif /* HAVE_LIBC */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
161
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
162 /* 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
163 #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
164 #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
165 #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
166 #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
167 #undef SDL_JOYSTICK_DISABLED
2713
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
168 #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
169 #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
170 #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
171 #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
172 #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
173 #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
174
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
175 /* 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
176 #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
177 #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
178 #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
179 #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
180 #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
181 #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
182 #undef SDL_AUDIO_DRIVER_BEOSAUDIO
1568
1f3f39f9cfcf *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1567
diff changeset
183 #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
184 #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
185 #undef SDL_AUDIO_DRIVER_DISK
1532
30f189cdd82b Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents: 1512
diff changeset
186 #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
187 #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
188 #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
189 #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
190 #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
191 #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
192 #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
193 #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
194 #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
195 #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
196 #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
197 #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
198 #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
199 #undef SDL_AUDIO_DRIVER_SUNAUDIO
2070
dbfa1ebd73b0 Fixed building of Windows waveout audio.
Ryan C. Gordon <icculus@icculus.org>
parents: 2062
diff changeset
200 #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
201 #undef SDL_AUDIO_DRIVER_FUSIONSOUND
fec0db6c44b7 Date: Thu, 01 Jan 2009 21:32:12 +0100
Sam Lantinga <slouken@libsdl.org>
parents: 2859
diff changeset
202 #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
203
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
204 /* 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
205 #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
206 #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
207 #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
208 #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
209 #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
210 #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
211 #undef SDL_JOYSTICK_LINUX
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
212 #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
213 #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
214 #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
215 #undef SDL_JOYSTICK_USBHID
1565
57431b199aed Fixed bug #52
Sam Lantinga <slouken@libsdl.org>
parents: 1532
diff changeset
216 #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
217 #undef SDL_HAPTIC_DUMMY
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
218 #undef SDL_HAPTIC_LINUX
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
219 #undef SDL_HAPTIC_IOKIT
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
220 #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
221
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
222 /* 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
223 #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
224 #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
225 #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
226 #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
227 #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
228 #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
229
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
230 /* 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
231 #undef SDL_THREAD_BEOS
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
232 #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
233 #undef SDL_THREAD_PTH
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_THREAD_PTHREAD
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
235 #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
236 #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
237 #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
238 #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
239
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
240 /* 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
241 #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
242 #undef SDL_TIMER_DUMMY
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
243 #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
244 #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
245 #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
246 #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
247 #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
248
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
249 /* 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
250 #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
251 #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
252 #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
253 #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
254 #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
255 #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
256 #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
257 #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
258 #undef SDL_VIDEO_DRIVER_QNXGF
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
259 #undef SDL_VIDEO_DRIVER_PS2GS
3257
94fb40a4a9a7 Merged Martin's code changes from Google Summer of Code 2009
Sam Lantinga <slouken@libsdl.org>
parents: 3243
diff changeset
260 #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
261 #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
262 #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
263 #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
264 #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
265 #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
266 #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
267 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
268 #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
269 #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
270 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS
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_VIDMODE
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_XINERAMA
1589
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
273 #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
274 #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
275 #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
276 #undef SDL_VIDEO_DRIVER_X11_XV
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
277
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
278 #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
279 #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
280 #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
281 #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
282 #undef SDL_VIDEO_RENDER_X11
3168
Sam Lantinga <slouken@libsdl.org>
parents: 3099
diff changeset
283 #undef SDL_VIDEO_RENDER_GAPI
Sam Lantinga <slouken@libsdl.org>
parents: 3099
diff changeset
284 #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
285
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
286 /* 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
287 #undef SDL_VIDEO_OPENGL
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3083
diff changeset
288 #undef SDL_VIDEO_OPENGL_ES
1952
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
289 #undef SDL_VIDEO_OPENGL_BGL
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
290 #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
291 #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
292 #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
293 #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
294 #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
295
3170
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
296 /* Enable system power support */
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
297 #undef SDL_POWER_LINUX
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
298 #undef SDL_POWER_WINDOWS
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
299 #undef SDL_POWER_MACOSX
3173
510e3f36c04a BeOS support for power subsystem.
Ryan C. Gordon <icculus@icculus.org>
parents: 3170
diff changeset
300 #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
301 #undef SDL_POWER_NINTENDODS
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
302 #undef SDL_POWER_HARDWIRED
b7a48f533966 Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents: 3168
diff changeset
303
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
304 /* Enable assembly routines */
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
305 #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
306 #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
307
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
308 #endif /* _SDL_config_h */