2 Simple DirectMedia Layer
3 Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
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.
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:
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.
22 #ifndef SDL_config_os2_h_
23 #define SDL_config_os2_h_
26 #include "SDL_platform.h"
28 #define SDL_AUDIO_DRIVER_DUMMY 1
29 #define SDL_AUDIO_DRIVER_DISK 1
30 #define SDL_AUDIO_DRIVER_OS2 1
32 #define SDL_POWER_DISABLED 1
33 #define SDL_JOYSTICK_DISABLED 1
34 #define SDL_HAPTIC_DISABLED 1
35 /*#undef SDL_JOYSTICK_HIDAPI */
36 /*#undef SDL_JOYSTICK_VIRTUAL */
38 #define SDL_SENSOR_DUMMY 1
39 #define SDL_VIDEO_DRIVER_DUMMY 1
40 #define SDL_VIDEO_DRIVER_OS2 1
42 /* Enable OpenGL support */
43 /* #undef SDL_VIDEO_OPENGL */
45 /* Enable Vulkan support */
46 /* #undef SDL_VIDEO_VULKAN */
48 #define SDL_THREAD_OS2 1
49 #define SDL_LOADSO_OS2 1
50 #define SDL_TIMER_OS2 1
51 #define SDL_FILESYSTEM_OS2 1
53 /* Enable assembly routines */
54 #define SDL_ASSEMBLY_ROUTINES 1
56 /* use libsamplerate for audio rate conversion. */
57 /*#define HAVE_LIBSAMPLERATE_H 1 */
59 /* Enable dynamic libsamplerate support */
60 #define SDL_LIBSAMPLERATE_DYNAMIC "SAMPRATE.DLL"
64 #define HAVE_SYS_TYPES_H 1
65 #define HAVE_STDIO_H 1
66 #define STDC_HEADERS 1
67 #define HAVE_STDLIB_H 1
68 #define HAVE_STDARG_H 1
69 #define HAVE_STDDEF_H 1
70 #define HAVE_MALLOC_H 1
71 #define HAVE_MEMORY_H 1
72 #define HAVE_STRING_H 1
73 #define HAVE_STRINGS_H 1
74 #define HAVE_WCHAR_H 1
75 #define HAVE_INTTYPES_H 1
76 #define HAVE_STDINT_H 1
77 #define HAVE_LIMITS_H 1
78 #define HAVE_CTYPE_H 1
80 #define HAVE_FLOAT_H 1
81 #define HAVE_SIGNAL_H 1
85 #define HAVE_REALLOC 1
87 #if defined(__WATCOMC__)
88 #define HAVE__FSEEKI64 1
89 #define HAVE__FTELLI64 1
100 #define HAVE_MEMMOVE 1
101 #define HAVE_MEMCMP 1
102 #define HAVE_WCSLEN 1
103 #define HAVE_WCSLCPY 1
104 #define HAVE_WCSLCAT 1
105 #define HAVE_WCSCMP 1
106 #define HAVE__WCSICMP 1
107 #define HAVE__WCSNICMP 1
108 #define HAVE_STRLEN 1
109 #define HAVE_STRLCPY 1
110 #define HAVE_STRLCAT 1
111 #define HAVE__STRREV 1
112 #define HAVE__STRUPR 1
113 #define HAVE__STRLWR 1
115 #define HAVE_RINDEX 1
116 #define HAVE_STRCHR 1
117 #define HAVE_STRRCHR 1
118 #define HAVE_STRSTR 1
119 /* #undef HAVE_STRTOK_R */
122 #define HAVE__ULTOA 1
123 #define HAVE_STRTOL 1
124 #define HAVE_STRTOUL 1
125 #define HAVE__I64TOA 1
126 #define HAVE__UI64TOA 1
127 #define HAVE_STRTOLL 1
128 #define HAVE_STRTOULL 1
129 #define HAVE_STRTOD 1
132 #define HAVE_WCSLEN 1
133 #define HAVE_WCSLCPY 1
134 #define HAVE_WCSLCAT 1
135 /* #define HAVE_WCSDUP 1 */
136 /* #define wcsdup _wcsdup */
137 #define HAVE_WCSSTR 1
138 #define HAVE_WCSCMP 1
139 #define HAVE_WCSNCMP 1
140 #define HAVE_STRCMP 1
141 #define HAVE_STRNCMP 1
142 #define HAVE_STRICMP 1
143 #define HAVE_STRCASECMP 1
144 #define HAVE_STRNCASECMP 1
145 #define HAVE_SSCANF 1
146 #define HAVE_VSSCANF 1
147 #define HAVE_SNPRINTF 1
148 #define HAVE_VSNPRINTF 1
149 #define HAVE_SETJMP 1
151 /* #undef HAVE_ACOSF */
153 /* #undef HAVE_ASINF */
156 /* #undef HAVE_ATAN2F */
158 /* #undef HAVE_CEILF */
159 /* #undef HAVE_COPYSIGN */
160 /* #undef HAVE_COPYSIGNF */
162 /* #undef HAVE_COSF */
164 /* #undef HAVE_EXPF */
166 /* #undef HAVE_FABSF */
168 /* #undef HAVE_FLOORF */
170 /* #undef HAVE_FMODF */
172 /* #undef HAVE_LOGF */
174 /* #undef HAVE_LOG10F */
176 /* #undef HAVE_POWF */
178 /* #undef HAVE_SINF */
179 /* #undef HAVE_SCALBN */
180 /* #undef HAVE_SCALBNF */
182 /* #undef HAVE_SQRTF */
184 /* #undef HAVE_TANF */
185 /* #undef HAVE_TRUNC */
186 /* #undef HAVE_TRUNCF */
188 #endif /* SDL_config_os2_h_ */