Mercurial > sdl-ios-xcode
annotate include/SDL_config.h @ 1444:12113661052d
Oops, missed the header
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 26 Feb 2006 19:46:17 +0000 |
parents | e3242177fe4a |
children | b2b476a4a73c |
rev | line source |
---|---|
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
1 /* |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
2 SDL - Simple DirectMedia Layer |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
3 Copyright (C) 1997-2006 Sam Lantinga |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
4 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
5 This library is free software; you can redistribute it and/or |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
6 modify it under the terms of the GNU Lesser General Public |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
7 License as published by the Free Software Foundation; either |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
8 version 2.1 of the License, or (at your option) any later version. |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
9 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
10 This library is distributed in the hope that it will be useful, |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
13 Lesser General Public License for more details. |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
14 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
15 You should have received a copy of the GNU Lesser General Public |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
16 License along with this library; if not, write to the Free Software |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
18 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
19 Sam Lantinga |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
20 slouken@libsdl.org |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
21 */ |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
22 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
23 #ifndef _SDL_config_h |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
24 #define _SDL_config_h |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
25 |
1422
d2ee8da60262
Added pre-configured versions of SDL_config.h for various platforms
Sam Lantinga <slouken@libsdl.org>
parents:
1402
diff
changeset
|
26 #include "SDL_platform.h" |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
27 |
1425
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
28 /* Add any platform that doesn't build using the configure system */ |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
29 #if defined(__AMIGA__) |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
30 #include "SDL_config_amiga.h" |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
31 #elif defined(__DREAMCAST__) |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
32 #include "SDL_config_dreamcast.h" |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
33 #elif defined(__MACOS__) |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
34 #include "SDL_config_macos.h" |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
35 #elif defined(__MACOSX__) |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
36 #include "SDL_config_macosx.h" |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
37 #elif defined(__WIN32__) |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
38 #include "SDL_config_win32.h" |
1442
e3242177fe4a
Updated OS/2 build, yay!
Sam Lantinga <slouken@libsdl.org>
parents:
1425
diff
changeset
|
39 #elif defined(__OS2__) |
e3242177fe4a
Updated OS/2 build, yay!
Sam Lantinga <slouken@libsdl.org>
parents:
1425
diff
changeset
|
40 #include "SDL_config_os2.h" |
1422
d2ee8da60262
Added pre-configured versions of SDL_config.h for various platforms
Sam Lantinga <slouken@libsdl.org>
parents:
1402
diff
changeset
|
41 #else |
1425
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
42 /* This is the minimal configuration that can be used to build SDL */ |
1402
d910939febfa
Use consistent identifiers for the various platforms we support.
Sam Lantinga <slouken@libsdl.org>
parents:
1367
diff
changeset
|
43 |
1425
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
44 #include <stdarg.h> |
1424
7a610f25c12f
Updated MacOS Classic MPW build
Sam Lantinga <slouken@libsdl.org>
parents:
1422
diff
changeset
|
45 |
1425
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
46 typedef signed char int8_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
47 typedef unsigned char uint8_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
48 typedef signed short int16_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
49 typedef unsigned short uint16_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
50 typedef signed int int32_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
51 typedef unsigned int uint32_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
52 typedef unsigned int size_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
53 typedef unsigned long uintptr_t; |
aea151eb97b8
Hmm, how am I going to keep from committing bad versions of this?
Sam Lantinga <slouken@libsdl.org>
parents:
1424
diff
changeset
|
54 #endif |
1361
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
55 |
19418e4422cb
New configure-based build system. Still work in progress, but much improved
Sam Lantinga <slouken@libsdl.org>
parents:
diff
changeset
|
56 #endif /* _SDL_config_h */ |