annotate include/SDL_config.h.in @ 3100:7dc982143c06

Date: Sun, 22 Mar 2009 12:52:29 +0000 From: Luke Benstead Subject: OpenGL 3.0 Context Creation I've attached a patch which implements OpenGL 3.x context creation on the latest SVN. I've added two options to SDL_GL_SetAttribute, these are SDL_GL_CONTEXT_MAJOR_VERSION and SDL_GL_CONTEXT_MINOR_VERSION. These default to 2 and 1 respectively. If the major version is less than 3 then the current context creation method is used, otherwise the appropriate new context creation function is called (depending on the platform). Sample code: if (SDL_Init(SDL_INIT_VIDEO) != 0) { printf("Unable to initialize SDL: %s\n", SDL_GetError()); return 1; } SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); //Without these 2 lines, SDL will create a GL 2.x context SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0); SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); SDL_Surface* screen = SDL_SetVideoMode( 640, 480, 16, SDL_OPENGL | SDL_FULLSCREEN ); I've implemented context creation on both Win32 and X and run basic tests on both. This patch doesn't provide access to all the options allowed by the new context creation (e.g. shared contexts, forward compatible contexts) but they can be added pretty easily.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 24 Mar 2009 10:43:53 +0000
parents 82e60908fab1
children 3df74541339b 6338b7f2d024
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
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
26 /* This is a set of defines to configure the SDL features */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
27
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
28 /* General platform specific identifiers */
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
29 #include "SDL_platform.h"
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
30
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
31 /* 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
32 #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
33 #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
34 #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
35
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
36 /* C language features */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
37 #undef const
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
38 #undef inline
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
39 #undef volatile
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
40
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
41 /* C datatypes */
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
42 #undef size_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
43 #undef int8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
44 #undef uint8_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
45 #undef int16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
46 #undef uint16_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
47 #undef int32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
48 #undef uint32_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
49 #undef int64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
50 #undef uint64_t
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
51 #undef uintptr_t
1383
1736c5e2173f NetBSD support
Sam Lantinga <slouken@libsdl.org>
parents: 1379
diff changeset
52 #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
53
1354
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
54 /* Endianness */
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
55 #undef SDL_BYTEORDER
22f39393668a Fixed build problem with SDL_string.c
Sam Lantinga <slouken@libsdl.org>
parents: 1353
diff changeset
56
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
57 /* 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
58 #undef HAVE_LIBC
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
59 #if HAVE_LIBC
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
60
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
61 /* Useful headers */
1367
e440d5c488c1 Fixes for BeOS and Solaris builds
Sam Lantinga <slouken@libsdl.org>
parents: 1361
diff changeset
62 #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
63 #undef HAVE_SYS_TYPES_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
64 #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
65 #undef STDC_HEADERS
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
66 #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
67 #undef HAVE_STDARG_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
68 #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
69 #undef HAVE_MEMORY_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
70 #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
71 #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
72 #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
73 #undef HAVE_STDINT_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
74 #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
75 #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
76 #undef HAVE_ICONV_H
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
77 #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
78 #undef HAVE_ALTIVEC_H
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
79
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
80 /* C library functions */
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
81 #undef HAVE_MALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
82 #undef HAVE_CALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
83 #undef HAVE_REALLOC
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
84 #undef HAVE_FREE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
85 #undef HAVE_ALLOCA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
86 #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
87 #undef HAVE_GETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
88 #undef HAVE_PUTENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
89 #undef HAVE_UNSETENV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
90 #endif
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
91 #undef HAVE_QSORT
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
92 #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
93 #undef HAVE_BCOPY
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
94 #undef HAVE_MEMSET
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
95 #undef HAVE_MEMCPY
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
96 #undef HAVE_MEMMOVE
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
97 #undef HAVE_MEMCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
98 #undef HAVE_STRLEN
1379
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
99 #undef HAVE_STRLCPY
c0a74f199ecf Use only safe string functions
Sam Lantinga <slouken@libsdl.org>
parents: 1367
diff changeset
100 #undef HAVE_STRLCAT
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
101 #undef HAVE_STRDUP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
102 #undef HAVE__STRREV
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
103 #undef HAVE__STRUPR
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
104 #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
105 #undef HAVE_INDEX
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
106 #undef HAVE_RINDEX
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
107 #undef HAVE_STRCHR
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
108 #undef HAVE_STRRCHR
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
109 #undef HAVE_STRSTR
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
110 #undef HAVE_ITOA
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
111 #undef HAVE__LTOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
112 #undef HAVE__UITOA
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
113 #undef HAVE__ULTOA
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
114 #undef HAVE_STRTOL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
115 #undef HAVE_STRTOUL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
116 #undef HAVE__I64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
117 #undef HAVE__UI64TOA
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
118 #undef HAVE_STRTOLL
1461
11134dc42da8 Updated for Dreamcast KOS June 2005 snapshot:
Sam Lantinga <slouken@libsdl.org>
parents: 1402
diff changeset
119 #undef HAVE_STRTOULL
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
120 #undef HAVE_STRTOD
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
121 #undef HAVE_ATOI
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
122 #undef HAVE_ATOF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
123 #undef HAVE_STRCMP
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
124 #undef HAVE_STRNCMP
1510
720f8bb49d7d Win32 fixes
Sam Lantinga <slouken@libsdl.org>
parents: 1501
diff changeset
125 #undef HAVE__STRICMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
126 #undef HAVE_STRCASECMP
1512
845b1619c8f6 Added _strnicmp support
Sam Lantinga <slouken@libsdl.org>
parents: 1510
diff changeset
127 #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
128 #undef HAVE_STRNCASECMP
1352
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
129 #undef HAVE_SSCANF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
130 #undef HAVE_SNPRINTF
c643342f3f33 Disable freaking autoheader. :)
Sam Lantinga <slouken@libsdl.org>
parents: 1347
diff changeset
131 #undef HAVE_VSNPRINTF
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
132 #undef HAVE_M_PI
3032
77c3e67f0740 Fixed Visual C++ build
Sam Lantinga <slouken@libsdl.org>
parents: 3025
diff changeset
133 #undef HAVE_CEIL
3012
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
134 #undef HAVE_COPYSIGN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
135 #undef HAVE_COS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
136 #undef HAVE_COSF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
137 #undef HAVE_FABS
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
138 #undef HAVE_FLOOR
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
139 #undef HAVE_LOG
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
140 #undef HAVE_POW
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
141 #undef HAVE_SCALBN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
142 #undef HAVE_SIN
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
143 #undef HAVE_SINF
7e30c2dc7783 Fixed Visual C++ release build for Visual C++ 2005
Sam Lantinga <slouken@libsdl.org>
parents: 2998
diff changeset
144 #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
145 #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
146 #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
147 #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
148 #undef HAVE_CLOCK_GETTIME
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
149 #undef HAVE_DLVSYM
2093
cdaeb26ed66a Merged r2981:2982 from branches/SDL-1.2: fbcon getpagesize() compile fix.
Ryan C. Gordon <icculus@icculus.org>
parents: 2070
diff changeset
150 #undef HAVE_GETPAGESIZE
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
151
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
152 #else
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
153 /* 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
154 #include <stdarg.h>
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
155 #endif /* HAVE_LIBC */
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
156
1353
7ba544e2888d Started the process of improving configure support, and merging C types
Sam Lantinga <slouken@libsdl.org>
parents: 1352
diff changeset
157 /* 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
158 #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
159 #undef SDL_CDROM_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
160 #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
161 #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
162 #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
163 #undef SDL_JOYSTICK_DISABLED
2713
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
164 #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
165 #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
166 #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
167 #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
168 #undef SDL_VIDEO_DISABLED
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
169
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
170 /* 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
171 #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
172 #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
173 #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
174 #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
175 #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
176 #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
177 #undef SDL_AUDIO_DRIVER_BEOSAUDIO
1568
1f3f39f9cfcf *** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents: 1567
diff changeset
178 #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
179 #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
180 #undef SDL_AUDIO_DRIVER_DART
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_AUDIO_DRIVER_DC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
182 #undef SDL_AUDIO_DRIVER_DISK
1532
30f189cdd82b Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents: 1512
diff changeset
183 #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
184 #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
185 #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
186 #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
187 #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
188 #undef SDL_AUDIO_DRIVER_MINT
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_MMEAUDIO
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_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
191 #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
192 #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
193 #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
194 #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
195 #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
196 #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
197 #undef SDL_AUDIO_DRIVER_SNDMGR
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_SUNAUDIO
2070
dbfa1ebd73b0 Fixed building of Windows waveout audio.
Ryan C. Gordon <icculus@icculus.org>
parents: 2062
diff changeset
199 #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
200 #undef SDL_AUDIO_DRIVER_FUSIONSOUND
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_DYNAMIC
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
202
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
203 /* Enable various cdrom drivers */
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_CDROM_AIX
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_CDROM_BEOS
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_CDROM_BSDI
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_CDROM_DC
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_CDROM_DUMMY
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_CDROM_FREEBSD
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_CDROM_LINUX
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_CDROM_MACOSX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
212 #undef SDL_CDROM_MINT
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_CDROM_OPENBSD
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_CDROM_OS2
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_CDROM_OSF
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_CDROM_QNX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
217 #undef SDL_CDROM_WIN32
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
218
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
219 /* 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
220 #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
221 #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
222 #undef SDL_JOYSTICK_BEOS
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_DC
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
224 #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
225 #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
226 #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
227 #undef SDL_JOYSTICK_LINUX
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_JOYSTICK_MINT
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
229 #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
230 #undef SDL_JOYSTICK_OS2
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_JOYSTICK_RISCOS
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_JOYSTICK_WINMM
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_JOYSTICK_USBHID
1565
57431b199aed Fixed bug #52
Sam Lantinga <slouken@libsdl.org>
parents: 1532
diff changeset
234 #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
235 #undef SDL_HAPTIC_DUMMY
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
236 #undef SDL_HAPTIC_LINUX
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
237 #undef SDL_HAPTIC_IOKIT
0906692aa6a4 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2276
diff changeset
238 #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
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 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
241 #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
242 #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
243 #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
244 #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
245 #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
246 #undef SDL_LOADSO_OS2
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_LOADSO_WIN32
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 threading systems */
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_THREAD_BEOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
251 #undef SDL_THREAD_DC
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
252 #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
253 #undef SDL_THREAD_OS2
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_THREAD_PTH
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_THREAD_PTHREAD
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
256 #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
257 #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
258 #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
259 #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
260
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
261 /* 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
262 #undef SDL_TIMER_BEOS
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_TIMER_DC
1635
92947e3a18db Make sure code is only compiled if the appropriate subsystem is enabled
Sam Lantinga <slouken@libsdl.org>
parents: 1589
diff changeset
264 #undef SDL_TIMER_DUMMY
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_TIMER_MINT
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
266 #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
267 #undef SDL_TIMER_OS2
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_TIMER_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_TIMER_UNIX
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
270 #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
271 #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
272
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
273 /* 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
274 #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
275 #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
276 #undef SDL_VIDEO_DRIVER_DC
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
277 #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
278 #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
279 #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
280 #undef SDL_VIDEO_DRIVER_FBCON
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_GAPI
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
282 #undef SDL_VIDEO_DRIVER_GEM
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
283 #undef SDL_VIDEO_DRIVER_IPOD
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
284 #undef SDL_VIDEO_DRIVER_NANOX
2735
204be4fc2726 Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2713
diff changeset
285 #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
286 #undef SDL_VIDEO_DRIVER_OS2FS
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_DRIVER_PHOTON
3083
0bc41e0361d3 Date: Mon, 2 Mar 2009 16:27:42 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3032
diff changeset
288 #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
289 #undef SDL_VIDEO_DRIVER_PS2GS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
290 #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
291 #undef SDL_VIDEO_DRIVER_SVGALIB
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_DRIVER_VGL
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
293 #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
294 #undef SDL_VIDEO_DRIVER_WSCONS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
295 #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
296 #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
297 #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
298 #undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
299 #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
300 #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
301 #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
302 #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
303 #undef SDL_VIDEO_DRIVER_X11_XINERAMA
1589
34cca785be57 Xrandr support in the X11 target.
Ryan C. Gordon <icculus@icculus.org>
parents: 1568
diff changeset
304 #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
305 #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
306 #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
307 #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
308 #undef SDL_VIDEO_DRIVER_XBIOS
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
309
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
310 #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
311 #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
312 #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
313 #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
314 #undef SDL_VIDEO_RENDER_X11
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
315
1361
19418e4422cb New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents: 1354
diff changeset
316 /* 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
317 #undef SDL_VIDEO_OPENGL
3087
0b6f51c29267 Date: Wed, 4 Mar 2009 15:38:22 +0200
Sam Lantinga <slouken@libsdl.org>
parents: 3083
diff changeset
318 #undef SDL_VIDEO_OPENGL_ES
1952
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
319 #undef SDL_VIDEO_OPENGL_BGL
420716272158 Implemented X11 OpenGL support.
Sam Lantinga <slouken@libsdl.org>
parents: 1945
diff changeset
320 #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
321 #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
322 #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
323 #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
324 #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
325
1402
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
326 /* Enable assembly routines */
d910939febfa Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents: 1383
diff changeset
327 #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
328 #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
329
1341
d02b552e5304 Configure dynamically generates SDL_config.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
330 #endif /* _SDL_config_h */