19682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/*
29682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    SDL - Simple DirectMedia Layer
39682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Copyright (C) 1997-2012 Sam Lantinga
49682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
59682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is free software; you can redistribute it and/or
69682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    modify it under the terms of the GNU Lesser General Public
79682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License as published by the Free Software Foundation; either
89682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    version 2.1 of the License, or (at your option) any later version.
99682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    This library is distributed in the hope that it will be useful,
119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    but WITHOUT ANY WARRANTY; without even the implied warranty of
129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Lesser General Public License for more details.
149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    You should have received a copy of the GNU Lesser General Public
169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    License along with this library; if not, write to the Free Software
179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    Sam Lantinga
209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall    slouken@libsdl.org
219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall*/
229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#ifndef _SDL_config_os2_h
249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define _SDL_config_os2_h
259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#include "SDL_platform.h"
279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* This is a set of defines to configure the SDL features */
299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed char         int8_t;
319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned char       uint8_t;
329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed short        int16_t;
339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned short      uint16_t;
349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed int          int32_t;
359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned int        uint32_t;
369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned int        size_t;
379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned long       uintptr_t;
389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef signed long long    int64_t;
399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Halltypedef unsigned long long  uint64_t;
409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_HAS_64BIT_TYPE	1
429682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
439682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Use Watcom's LIBC */
449682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_LIBC 1
459682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
469682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Useful headers */
479682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SYS_TYPES_H 1
489682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDIO_H 1
499682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define STDC_HEADERS 1
509682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDLIB_H 1
519682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDARG_H 1
529682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MALLOC_H 1
539682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMORY_H 1
549682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRING_H 1
559682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRINGS_H 1
569682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_INTTYPES_H 1
579682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STDINT_H 1
589682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CTYPE_H 1
599682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MATH_H 1
609682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SIGNAL_H 1
619682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
629682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* C library functions */
639682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MALLOC 1
649682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CALLOC 1
659682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_REALLOC 1
669682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_FREE 1
679682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ALLOCA 1
689682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_GETENV 1
699682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_PUTENV 1
709682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_UNSETENV 1
719682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_QSORT 1
729682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ABS 1
739682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_BCOPY 1
749682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMSET 1
759682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMCPY 1
769682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMMOVE 1
779682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_MEMCMP 1
789682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLEN 1
799682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLCPY 1
809682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRLCAT 1
819682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRDUP 1
829682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__STRREV 1
839682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__STRUPR 1
849682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__STRLWR 1
859682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_INDEX 1
869682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_RINDEX 1
879682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCHR 1
889682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRRCHR 1
899682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRSTR 1
909682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ITOA 1
919682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__LTOA 1
929682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__UITOA 1
939682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__ULTOA 1
949682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOL 1
959682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__I64TOA 1
969682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE__UI64TOA 1
979682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOLL 1
989682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRTOD 1
999682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOI 1
1009682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_ATOF 1
1019682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCMP 1
1029682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRNCMP 1
1039682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRICMP 1
1049682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_STRCASECMP 1
1059682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SSCANF 1
1069682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SNPRINTF 1
1079682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_VSNPRINTF 1
1089682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_SETJMP 1
1099682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define HAVE_CLOCK_GETTIME 1
1109682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1119682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various audio drivers */
1129682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DART	1
1139682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DISK	1
1149682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_AUDIO_DRIVER_DUMMY	1
1159682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1169682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various cdrom drivers */
1179682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_CDROM_OS2	1
1189682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1199682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various input drivers */
1209682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_JOYSTICK_OS2	1
1219682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1229682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various shared object loading systems */
1239682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_LOADSO_OS2	1
1249682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1259682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various threading systems */
1269682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_THREAD_OS2	1
1279682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1289682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various timer systems */
1299682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_TIMER_OS2	1
1309682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1319682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable various video drivers */
1329682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_DUMMY	1
1339682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_VIDEO_DRIVER_OS2FS	1
1349682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1359682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable OpenGL support */
1369682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Nothing here yet for OS/2... :( */
1379682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1389682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall/* Enable assembly routines where available */
1399682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#define SDL_ASSEMBLY_ROUTINES	1
1409682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall
1419682c8870b8ff5e4ac2e4c70b759f791c6f38c1fJesse Hall#endif /* _SDL_config_os2_h */
142