Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
9 | pmbaty | 1 | /* |
2 | Simple DirectMedia Layer |
||
3 | Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org> |
||
4 | |||
5 | This software is provided 'as-is', without any express or implied |
||
6 | warranty. In no event will the authors be held liable for any damages |
||
7 | arising from the use of this software. |
||
8 | |||
9 | Permission is granted to anyone to use this software for any purpose, |
||
10 | including commercial applications, and to alter it and redistribute it |
||
11 | freely, subject to the following restrictions: |
||
12 | |||
13 | 1. The origin of this software must not be misrepresented; you must not |
||
14 | claim that you wrote the original software. If you use this software |
||
15 | in a product, an acknowledgment in the product documentation would be |
||
16 | appreciated but is not required. |
||
17 | 2. Altered source versions must be plainly marked as such, and must not be |
||
18 | misrepresented as being the original software. |
||
19 | 3. This notice may not be removed or altered from any source distribution. |
||
20 | */ |
||
21 | |||
22 | #ifndef SDL_config_os2_h_ |
||
23 | #define SDL_config_os2_h_ |
||
24 | #define SDL_config_h_ |
||
25 | |||
26 | #include "SDL_platform.h" |
||
27 | |||
28 | #define SIZEOF_VOIDP 4 |
||
29 | |||
30 | #define SDL_AUDIO_DRIVER_DUMMY 1 |
||
31 | #define SDL_AUDIO_DRIVER_DISK 1 |
||
32 | #define SDL_AUDIO_DRIVER_OS2 1 |
||
33 | |||
34 | #define SDL_POWER_DISABLED 1 |
||
35 | #define SDL_HAPTIC_DISABLED 1 |
||
36 | |||
37 | #define SDL_SENSOR_DUMMY 1 |
||
38 | #define SDL_VIDEO_DRIVER_DUMMY 1 |
||
39 | #define SDL_VIDEO_DRIVER_OS2 1 |
||
40 | #define SDL_JOYSTICK_OS2 1 |
||
41 | #ifndef HAVE_LIBUSB_H /* see Makefile */ |
||
42 | #define SDL_HIDAPI_DISABLED 1 |
||
43 | /*#undef SDL_JOYSTICK_HIDAPI */ |
||
44 | #else |
||
45 | #define SDL_JOYSTICK_HIDAPI 1 |
||
46 | #define HAVE_LIBUSB 1 |
||
47 | /* dynamically loaded libusb-1.0 dll: */ |
||
48 | #define SDL_LIBUSB_DYNAMIC "usb100.dll" |
||
49 | #endif |
||
50 | /*#undef SDL_JOYSTICK_VIRTUAL */ |
||
51 | |||
52 | /* Enable OpenGL support */ |
||
53 | /* #undef SDL_VIDEO_OPENGL */ |
||
54 | |||
55 | #define SDL_THREAD_OS2 1 |
||
56 | #define SDL_LOADSO_OS2 1 |
||
57 | #define SDL_TIMER_OS2 1 |
||
58 | #define SDL_FILESYSTEM_OS2 1 |
||
59 | |||
60 | /* use libsamplerate for audio rate conversion. */ |
||
61 | /*#define HAVE_LIBSAMPLERATE_H 1 */ |
||
62 | |||
63 | /* Enable dynamic libsamplerate support */ |
||
64 | #define SDL_LIBSAMPLERATE_DYNAMIC "SAMPRATE.DLL" |
||
65 | |||
66 | #define HAVE_LIBC 1 |
||
67 | |||
68 | #define HAVE_STDARG_H 1 |
||
69 | #define HAVE_STDDEF_H 1 |
||
70 | #define HAVE_STDINT_H 1 |
||
71 | |||
72 | #define HAVE_SYS_TYPES_H 1 |
||
73 | #define HAVE_STDIO_H 1 |
||
74 | #define STDC_HEADERS 1 |
||
75 | #define HAVE_STDLIB_H 1 |
||
76 | #define HAVE_MALLOC_H 1 |
||
77 | #define HAVE_MEMORY_H 1 |
||
78 | #define HAVE_STRING_H 1 |
||
79 | #define HAVE_STRINGS_H 1 |
||
80 | #define HAVE_WCHAR_H 1 |
||
81 | #define HAVE_INTTYPES_H 1 |
||
82 | #define HAVE_LIMITS_H 1 |
||
83 | #define HAVE_CTYPE_H 1 |
||
84 | #define HAVE_MATH_H 1 |
||
85 | #define HAVE_FLOAT_H 1 |
||
86 | #define HAVE_SIGNAL_H 1 |
||
87 | |||
88 | #if 0 /* see Makefile */ |
||
89 | #define HAVE_ICONV 1 |
||
90 | #define HAVE_ICONV_H 1 |
||
91 | #endif |
||
92 | |||
93 | /* #undef HAVE_DLOPEN */ |
||
94 | #define HAVE_MALLOC 1 |
||
95 | #define HAVE_CALLOC 1 |
||
96 | #define HAVE_REALLOC 1 |
||
97 | #define HAVE_FREE 1 |
||
98 | #if defined(__WATCOMC__) |
||
99 | #define HAVE__FSEEKI64 1 |
||
100 | #define HAVE__FTELLI64 1 |
||
101 | #endif |
||
102 | #define HAVE_ALLOCA 1 |
||
103 | #define HAVE_GETENV 1 |
||
104 | #define HAVE_SETENV 1 |
||
105 | #define HAVE_PUTENV 1 |
||
106 | /* OpenWatcom requires specific calling conventions for qsort and bsearch */ |
||
107 | #ifndef __WATCOMC__ |
||
108 | #define HAVE_QSORT 1 |
||
109 | #define HAVE_BSEARCH 1 |
||
110 | #endif |
||
111 | #define HAVE_ABS 1 |
||
112 | #define HAVE_BCOPY 1 |
||
113 | #define HAVE_MEMSET 1 |
||
114 | #define HAVE_MEMCPY 1 |
||
115 | #define HAVE_MEMMOVE 1 |
||
116 | #define HAVE_MEMCMP 1 |
||
117 | #define HAVE_WCSLEN 1 |
||
118 | #define HAVE_WCSLCPY 1 |
||
119 | #define HAVE_WCSLCAT 1 |
||
120 | #define HAVE_WCSCMP 1 |
||
121 | #define HAVE__WCSICMP 1 |
||
122 | #define HAVE__WCSNICMP 1 |
||
123 | #define HAVE_WCSLEN 1 |
||
124 | #define HAVE_WCSLCPY 1 |
||
125 | #define HAVE_WCSLCAT 1 |
||
126 | /* #undef HAVE_WCSDUP */ |
||
127 | #define HAVE__WCSDUP 1 |
||
128 | #define HAVE_WCSSTR 1 |
||
129 | #define HAVE_WCSCMP 1 |
||
130 | #define HAVE_WCSNCMP 1 |
||
131 | #define HAVE_STRLEN 1 |
||
132 | #define HAVE_STRLCPY 1 |
||
133 | #define HAVE_STRLCAT 1 |
||
134 | #define HAVE__STRREV 1 |
||
135 | #define HAVE__STRUPR 1 |
||
136 | #define HAVE__STRLWR 1 |
||
137 | /* #undef HAVE_INDEX */ |
||
138 | /* #undef HAVE_RINDEX */ |
||
139 | #define HAVE_STRCHR 1 |
||
140 | #define HAVE_STRRCHR 1 |
||
141 | #define HAVE_STRSTR 1 |
||
142 | /* #undef HAVE_STRTOK_R */ |
||
143 | #define HAVE_ITOA 1 |
||
144 | #define HAVE__LTOA 1 |
||
145 | #define HAVE__ULTOA 1 |
||
146 | #define HAVE_STRTOL 1 |
||
147 | #define HAVE_STRTOUL 1 |
||
148 | #define HAVE__I64TOA 1 |
||
149 | #define HAVE__UI64TOA 1 |
||
150 | #define HAVE_STRTOLL 1 |
||
151 | #define HAVE_STRTOULL 1 |
||
152 | #define HAVE_STRTOD 1 |
||
153 | #define HAVE_ATOI 1 |
||
154 | #define HAVE_ATOF 1 |
||
155 | #define HAVE_STRCMP 1 |
||
156 | #define HAVE_STRNCMP 1 |
||
157 | #define HAVE_STRICMP 1 |
||
158 | #define HAVE_STRCASECMP 1 |
||
159 | #define HAVE_STRNCASECMP 1 |
||
160 | #define HAVE_SSCANF 1 |
||
161 | #define HAVE_VSSCANF 1 |
||
162 | #define HAVE_SNPRINTF 1 |
||
163 | #define HAVE_VSNPRINTF 1 |
||
164 | #define HAVE_SETJMP 1 |
||
165 | #define HAVE_ACOS 1 |
||
166 | /* #undef HAVE_ACOSF */ |
||
167 | #define HAVE_ASIN 1 |
||
168 | /* #undef HAVE_ASINF */ |
||
169 | #define HAVE_ATAN 1 |
||
170 | #define HAVE_ATAN2 1 |
||
171 | /* #undef HAVE_ATAN2F */ |
||
172 | #define HAVE_CEIL 1 |
||
173 | /* #undef HAVE_CEILF */ |
||
174 | /* #undef HAVE_COPYSIGN */ |
||
175 | /* #undef HAVE_COPYSIGNF */ |
||
176 | #define HAVE_COS 1 |
||
177 | /* #undef HAVE_COSF */ |
||
178 | #define HAVE_EXP 1 |
||
179 | /* #undef HAVE_EXPF */ |
||
180 | #define HAVE_FABS 1 |
||
181 | /* #undef HAVE_FABSF */ |
||
182 | #define HAVE_FLOOR 1 |
||
183 | /* #undef HAVE_FLOORF */ |
||
184 | #define HAVE_FMOD 1 |
||
185 | /* #undef HAVE_FMODF */ |
||
186 | #define HAVE_LOG 1 |
||
187 | /* #undef HAVE_LOGF */ |
||
188 | #define HAVE_LOG10 1 |
||
189 | /* #undef HAVE_LOG10F */ |
||
190 | #define HAVE_POW 1 |
||
191 | /* #undef HAVE_POWF */ |
||
192 | #define HAVE_SIN 1 |
||
193 | /* #undef HAVE_SINF */ |
||
194 | /* #undef HAVE_SCALBN */ |
||
195 | /* #undef HAVE_SCALBNF */ |
||
196 | #define HAVE_SQRT 1 |
||
197 | /* #undef HAVE_SQRTF */ |
||
198 | #define HAVE_TAN 1 |
||
199 | /* #undef HAVE_TANF */ |
||
200 | /* #undef HAVE_TRUNC */ |
||
201 | /* #undef HAVE_TRUNCF */ |
||
202 | /* #undef HAVE_LROUND */ |
||
203 | /* #undef HAVE_LROUNDF */ |
||
204 | /* #undef HAVE_ROUND */ |
||
205 | /* #undef HAVE_ROUNDF */ |
||
206 | |||
207 | #endif /* SDL_config_os2_h_ */ |