Mercurial > sdl-ios-xcode
annotate include/SDL_config_os2.h @ 3207:65fdb0961d7c
Moved hardcoding of "/proc/apm" elsewhere.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 30 Jun 2009 06:27:08 +0000 |
parents | 77d6336711fc |
children | b91354fa65a2 |
rev | line source |
---|---|
1442 | 1 /* |
2 SDL - Simple DirectMedia Layer | |
2859 | 3 Copyright (C) 1997-2009 Sam Lantinga |
1442 | 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_os2_h | |
24 #define _SDL_config_os2_h | |
1608
d951a5afaf07
A less rude way of doing the same thing...
Sam Lantinga <slouken@libsdl.org>
parents:
1607
diff
changeset
|
25 |
d951a5afaf07
A less rude way of doing the same thing...
Sam Lantinga <slouken@libsdl.org>
parents:
1607
diff
changeset
|
26 #include "SDL_platform.h" |
1442 | 27 |
28 /* This is a set of defines to configure the SDL features */ | |
29 | |
1895
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
30 typedef signed char int8_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
31 typedef unsigned char uint8_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
32 typedef signed short int16_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
33 typedef unsigned short uint16_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
34 typedef signed int int32_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
35 typedef unsigned int uint32_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
36 typedef unsigned int size_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
37 typedef unsigned long uintptr_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
38 typedef signed long long int64_t; |
c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
Sam Lantinga <slouken@libsdl.org>
parents:
1608
diff
changeset
|
39 typedef unsigned long long uint64_t; |
1442 | 40 |
3180
77d6336711fc
First commit for SDL atomic operations.
Bob Pendleton <bob@pendleton.com>
parents:
3170
diff
changeset
|
41 #define SIZEOF_VOIDP 4 |
1442 | 42 #define SDL_HAS_64BIT_TYPE 1 |
43 | |
44 /* Use Watcom's LIBC */ | |
45 #define HAVE_LIBC 1 | |
46 | |
47 /* Useful headers */ | |
48 #define HAVE_SYS_TYPES_H 1 | |
49 #define HAVE_STDIO_H 1 | |
50 #define STDC_HEADERS 1 | |
51 #define HAVE_STDLIB_H 1 | |
52 #define HAVE_STDARG_H 1 | |
53 #define HAVE_MALLOC_H 1 | |
54 #define HAVE_MEMORY_H 1 | |
55 #define HAVE_STRING_H 1 | |
56 #define HAVE_STRINGS_H 1 | |
57 #define HAVE_INTTYPES_H 1 | |
58 #define HAVE_STDINT_H 1 | |
59 #define HAVE_CTYPE_H 1 | |
60 #define HAVE_MATH_H 1 | |
61 #define HAVE_SIGNAL_H 1 | |
62 | |
63 /* C library functions */ | |
64 #define HAVE_MALLOC 1 | |
65 #define HAVE_CALLOC 1 | |
66 #define HAVE_REALLOC 1 | |
67 #define HAVE_FREE 1 | |
68 #define HAVE_ALLOCA 1 | |
69 #define HAVE_GETENV 1 | |
70 #define HAVE_PUTENV 1 | |
71 #define HAVE_UNSETENV 1 | |
72 #define HAVE_QSORT 1 | |
73 #define HAVE_ABS 1 | |
74 #define HAVE_BCOPY 1 | |
75 #define HAVE_MEMSET 1 | |
76 #define HAVE_MEMCPY 1 | |
77 #define HAVE_MEMMOVE 1 | |
78 #define HAVE_MEMCMP 1 | |
79 #define HAVE_STRLEN 1 | |
80 #define HAVE_STRLCPY 1 | |
81 #define HAVE_STRLCAT 1 | |
82 #define HAVE_STRDUP 1 | |
83 #define HAVE__STRREV 1 | |
84 #define HAVE__STRUPR 1 | |
85 #define HAVE__STRLWR 1 | |
86 #define HAVE_INDEX 1 | |
87 #define HAVE_RINDEX 1 | |
88 #define HAVE_STRCHR 1 | |
89 #define HAVE_STRRCHR 1 | |
90 #define HAVE_STRSTR 1 | |
91 #define HAVE_ITOA 1 | |
92 #define HAVE__LTOA 1 | |
93 #define HAVE__UITOA 1 | |
94 #define HAVE__ULTOA 1 | |
95 #define HAVE_STRTOL 1 | |
96 #define HAVE__I64TOA 1 | |
97 #define HAVE__UI64TOA 1 | |
98 #define HAVE_STRTOLL 1 | |
99 #define HAVE_STRTOD 1 | |
100 #define HAVE_ATOI 1 | |
101 #define HAVE_ATOF 1 | |
102 #define HAVE_STRCMP 1 | |
103 #define HAVE_STRNCMP 1 | |
104 #define HAVE_STRICMP 1 | |
105 #define HAVE_STRCASECMP 1 | |
106 #define HAVE_SSCANF 1 | |
107 #define HAVE_SNPRINTF 1 | |
108 #define HAVE_VSNPRINTF 1 | |
109 #define HAVE_SETJMP 1 | |
110 #define HAVE_CLOCK_GETTIME 1 | |
111 | |
112 /* Enable various audio drivers */ | |
113 #define SDL_AUDIO_DRIVER_DART 1 | |
1532
30f189cdd82b
Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents:
1442
diff
changeset
|
114 #define SDL_AUDIO_DRIVER_DISK 1 |
30f189cdd82b
Implemented dummy audio driver.
Ryan C. Gordon <icculus@icculus.org>
parents:
1442
diff
changeset
|
115 #define SDL_AUDIO_DRIVER_DUMMY 1 |
1442 | 116 |
117 /* Enable various cdrom drivers */ | |
118 #define SDL_CDROM_OS2 1 | |
119 | |
120 /* Enable various input drivers */ | |
121 #define SDL_JOYSTICK_OS2 1 | |
2713
0906692aa6a4
Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents:
1895
diff
changeset
|
122 #define SDL_HAPTIC_DUMMY 1 |
1442 | 123 |
124 /* Enable various shared object loading systems */ | |
125 #define SDL_LOADSO_OS2 1 | |
126 | |
127 /* Enable various threading systems */ | |
128 #define SDL_THREAD_OS2 1 | |
129 | |
130 /* Enable various timer systems */ | |
131 #define SDL_TIMER_OS2 1 | |
132 | |
133 /* Enable various video drivers */ | |
1533
38c1eb6b0083
By default all the real targets have dummy audio/video and disk audio.
Sam Lantinga <slouken@libsdl.org>
parents:
1532
diff
changeset
|
134 #define SDL_VIDEO_DRIVER_DUMMY 1 |
1442 | 135 #define SDL_VIDEO_DRIVER_OS2FS 1 |
136 | |
137 /* Enable OpenGL support */ | |
138 /* Nothing here yet for OS/2... :( */ | |
139 | |
3170
b7a48f533966
Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
2859
diff
changeset
|
140 /* Enable system power support */ |
b7a48f533966
Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
2859
diff
changeset
|
141 #define SDL_POWER_OS2 1 |
b7a48f533966
Initial work on power subsystem for SDL 1.3.
Ryan C. Gordon <icculus@icculus.org>
parents:
2859
diff
changeset
|
142 |
1442 | 143 /* Enable assembly routines where available */ |
144 #define SDL_ASSEMBLY_ROUTINES 1 | |
145 | |
146 #endif /* _SDL_config_os2_h */ |