Mercurial > sdl-ios-xcode
annotate include/SDL_config_android.h @ 4717:191f4693d0c1
OK, /actually/ fixed the nativeQuit() crash this time
author | Paul Hunkin <paul@bieh.net> |
---|---|
date | Tue, 27 Jul 2010 11:02:07 +0200 |
parents | d40bb3165d2b |
children | d59792d2c3ae |
rev | line source |
---|---|
4700 | 1 /* |
2 SDL - Simple DirectMedia Layer | |
3 Copyright (C) 1997-2010 Sam Lantinga | |
4 | |
5 This library is free software; you can redistribute it and/or | |
6 modify it under the terms of the GNU Lesser General Public | |
7 License as published by the Free Software Foundation; either | |
8 version 2.1 of the License, or (at your option) any later version. | |
9 | |
10 This library is distributed in the hope that it will be useful, | |
11 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 Lesser General Public License for more details. | |
14 | |
15 You should have received a copy of the GNU Lesser General Public | |
16 License along with this library; if not, write to the Free Software | |
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
18 | |
19 Sam Lantinga | |
20 slouken@libsdl.org | |
21 */ | |
22 | |
23 #ifndef _SDL_config_android_h | |
24 #define _SDL_config_android_h | |
25 | |
26 #include "SDL_platform.h" | |
27 | |
28 /** | |
29 * \file SDL_config_android.h | |
30 * | |
31 * This is a configuration that can be used to build SDL for Android | |
32 */ | |
33 | |
34 #include <stdarg.h> | |
35 | |
36 /* | |
37 typedef signed char int8_t; | |
38 typedef unsigned char uint8_t; | |
39 typedef signed short int16_t; | |
40 typedef unsigned short uint16_t; | |
41 typedef signed int int32_t; | |
42 typedef unsigned int uint32_t; | |
43 */ | |
44 | |
45 #define SIZEOF_VOIDP 4 | |
46 | |
47 typedef unsigned int size_t; | |
48 //typedef unsigned long uintptr_t; | |
49 | |
50 #define SDL_AUDIO_DRIVER_DUMMY 1 | |
51 | |
52 #define SDL_CDROM_DISABLED 1 | |
53 | |
54 #define SDL_HAPTIC_DISABLED 1 | |
55 | |
56 #define SDL_JOYSTICK_DISABLED 1 | |
57 | |
58 #define SDL_LOADSO_DISABLED 1 | |
59 | |
60 #define SDL_THREADS_DISABLED 1 | |
61 | |
62 #define SDL_TIMERS_DISABLED 1 | |
63 | |
64 #define SDL_TIMER_UNIX 1 | |
65 | |
4701
d40bb3165d2b
Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents:
4700
diff
changeset
|
66 #define SDL_VIDEO_DRIVER_ANDROID 1 |
4700 | 67 |
68 #define HAVE_STDIO_H 1 | |
69 #define HAVE_SYS_TYPES_H 1 | |
70 | |
4701
d40bb3165d2b
Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents:
4700
diff
changeset
|
71 #define HAVE_M_PI 1 |
d40bb3165d2b
Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents:
4700
diff
changeset
|
72 |
d40bb3165d2b
Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents:
4700
diff
changeset
|
73 #define SDL_VIDEO_RENDER_OGL_ES 1 |
d40bb3165d2b
Added (partially implemented) android video backend and associated files needed to build
Paul Hunkin <paul@bieh.net>
parents:
4700
diff
changeset
|
74 |
4700 | 75 #endif /* _SDL_config_minimal_h */ |
76 |