include/SDL_config_os2.h
author Sam Lantinga
Fri, 27 Nov 2020 18:57:42 -0800
changeset 14413 0ba75e4da3e1
parent 14385 e93deaa6a545
permissions -rw-r--r--
Remember to close the game controller when we're done with it
     1 /*
     2   Simple DirectMedia Layer
     3   Copyright (C) 1997-2020 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 SDL_AUDIO_DRIVER_DUMMY 1
    29 #define SDL_AUDIO_DRIVER_DISK 1
    30 #define SDL_AUDIO_DRIVER_OS2 1
    31 
    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 */
    37 
    38 #define SDL_SENSOR_DUMMY 1
    39 #define SDL_VIDEO_DRIVER_DUMMY 1
    40 #define SDL_VIDEO_DRIVER_OS2 1
    41 
    42 /* Enable OpenGL support */
    43 /* #undef SDL_VIDEO_OPENGL */
    44 
    45 /* Enable Vulkan support */
    46 /* #undef SDL_VIDEO_VULKAN */
    47 
    48 #define SDL_THREAD_OS2 1
    49 #define SDL_LOADSO_OS2 1
    50 #define SDL_TIMER_OS2 1
    51 #define SDL_FILESYSTEM_OS2 1
    52 
    53 /* Enable assembly routines */
    54 #define SDL_ASSEMBLY_ROUTINES 1
    55 
    56 /* use libsamplerate for audio rate conversion. */
    57 /*#define HAVE_LIBSAMPLERATE_H 1 */
    58 
    59 /* Enable dynamic libsamplerate support */
    60 #define SDL_LIBSAMPLERATE_DYNAMIC "SAMPRATE.DLL"
    61 
    62 #define HAVE_LIBC 1
    63 
    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
    79 #define HAVE_MATH_H 1
    80 #define HAVE_FLOAT_H 1
    81 #define HAVE_SIGNAL_H 1
    82 
    83 #define HAVE_MALLOC 1
    84 #define HAVE_CALLOC 1
    85 #define HAVE_REALLOC 1
    86 #define HAVE_FREE 1
    87 #if defined(__WATCOMC__)
    88 #define HAVE__FSEEKI64 1
    89 #define HAVE__FTELLI64 1
    90 #endif
    91 #define HAVE_ALLOCA 1
    92 #define HAVE_GETENV 1
    93 #define HAVE_SETENV 1
    94 #define HAVE_PUTENV 1
    95 #define HAVE_QSORT 1
    96 #define HAVE_ABS 1
    97 #define HAVE_BCOPY 1
    98 #define HAVE_MEMSET 1
    99 #define HAVE_MEMCPY 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
   114 #define HAVE_INDEX 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 */
   120 #define HAVE_ITOA 1
   121 #define HAVE__LTOA 1
   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
   130 #define HAVE_ATOI 1
   131 #define HAVE_ATOF 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
   150 #define HAVE_ACOS 1
   151 /* #undef HAVE_ACOSF */
   152 #define HAVE_ASIN 1
   153 /* #undef HAVE_ASINF */
   154 #define HAVE_ATAN 1
   155 #define HAVE_ATAN2 1
   156 /* #undef HAVE_ATAN2F */
   157 #define HAVE_CEIL 1
   158 /* #undef HAVE_CEILF */
   159 /* #undef HAVE_COPYSIGN */
   160 /* #undef HAVE_COPYSIGNF */
   161 #define HAVE_COS 1
   162 /* #undef HAVE_COSF */
   163 #define HAVE_EXP 1
   164 /* #undef HAVE_EXPF */
   165 #define HAVE_FABS 1
   166 /* #undef HAVE_FABSF */
   167 #define HAVE_FLOOR 1
   168 /* #undef HAVE_FLOORF */
   169 #define HAVE_FMOD 1
   170 /* #undef HAVE_FMODF */
   171 #define HAVE_LOG 1
   172 /* #undef HAVE_LOGF */
   173 #define HAVE_LOG10 1
   174 /* #undef HAVE_LOG10F */
   175 #define HAVE_POW 1
   176 /* #undef HAVE_POWF */
   177 #define HAVE_SIN 1
   178 /* #undef HAVE_SINF */
   179 /* #undef HAVE_SCALBN */
   180 /* #undef HAVE_SCALBNF */
   181 #define HAVE_SQRT 1
   182 /* #undef HAVE_SQRTF */
   183 #define HAVE_TAN 1
   184 /* #undef HAVE_TANF */
   185 /* #undef HAVE_TRUNC */
   186 /* #undef HAVE_TRUNCF */
   187 
   188 #endif /* SDL_config_os2_h_ */