include/SDL_config_os2.h
author Ozkan Sezer <sezeroz@gmail.com>
Sun, 14 Oct 2018 23:56:56 +0300
changeset 12329 b7243b9f8fd5
child 12331 43d46306c3ba
permissions -rw-r--r--
add a minimal config and makefile to test watcom/os2 builds.
sezeroz@12329
     1
/*
sezeroz@12329
     2
  Simple DirectMedia Layer
sezeroz@12329
     3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
sezeroz@12329
     4
sezeroz@12329
     5
  This software is provided 'as-is', without any express or implied
sezeroz@12329
     6
  warranty.  In no event will the authors be held liable for any damages
sezeroz@12329
     7
  arising from the use of this software.
sezeroz@12329
     8
sezeroz@12329
     9
  Permission is granted to anyone to use this software for any purpose,
sezeroz@12329
    10
  including commercial applications, and to alter it and redistribute it
sezeroz@12329
    11
  freely, subject to the following restrictions:
sezeroz@12329
    12
sezeroz@12329
    13
  1. The origin of this software must not be misrepresented; you must not
sezeroz@12329
    14
     claim that you wrote the original software. If you use this software
sezeroz@12329
    15
     in a product, an acknowledgment in the product documentation would be
sezeroz@12329
    16
     appreciated but is not required.
sezeroz@12329
    17
  2. Altered source versions must be plainly marked as such, and must not be
sezeroz@12329
    18
     misrepresented as being the original software.
sezeroz@12329
    19
  3. This notice may not be removed or altered from any source distribution.
sezeroz@12329
    20
*/
sezeroz@12329
    21
sezeroz@12329
    22
#ifndef SDL_config_os2_h_
sezeroz@12329
    23
#define SDL_config_os2_h_
sezeroz@12329
    24
#define SDL_config_h_
sezeroz@12329
    25
sezeroz@12329
    26
#include "SDL_platform.h"
sezeroz@12329
    27
sezeroz@12329
    28
#define SDL_AUDIO_DRIVER_DUMMY 1
sezeroz@12329
    29
#define SDL_AUDIO_DRIVER_DISK 1
sezeroz@12329
    30
sezeroz@12329
    31
#define SDL_JOYSTICK_DISABLED 1
sezeroz@12329
    32
#define SDL_HAPTIC_DISABLED 1
sezeroz@12329
    33
/*#undef SDL_JOYSTICK_HIDAPI */
sezeroz@12329
    34
sezeroz@12329
    35
#define SDL_SENSOR_DUMMY 1
sezeroz@12329
    36
#define SDL_VIDEO_DRIVER_DUMMY 1
sezeroz@12329
    37
sezeroz@12329
    38
/* Enable OpenGL support */
sezeroz@12329
    39
/* #undef SDL_VIDEO_OPENGL */
sezeroz@12329
    40
sezeroz@12329
    41
/* Enable Vulkan support */
sezeroz@12329
    42
/* #undef SDL_VIDEO_VULKAN */
sezeroz@12329
    43
sezeroz@12329
    44
#define SDL_LOADSO_DISABLED 1
sezeroz@12329
    45
#define SDL_THREADS_DISABLED 1
sezeroz@12329
    46
#define SDL_TIMERS_DISABLED 1
sezeroz@12329
    47
#define SDL_FILESYSTEM_DUMMY 1
sezeroz@12329
    48
sezeroz@12329
    49
/* Enable assembly routines */
sezeroz@12329
    50
#define SDL_ASSEMBLY_ROUTINES 1
sezeroz@12329
    51
sezeroz@12329
    52
/* #undef HAVE_LIBSAMPLERATE_H */
sezeroz@12329
    53
sezeroz@12329
    54
/* Enable dynamic libsamplerate support */
sezeroz@12329
    55
/* #undef SDL_LIBSAMPLERATE_DYNAMIC */
sezeroz@12329
    56
sezeroz@12329
    57
#define HAVE_LIBC 1
sezeroz@12329
    58
sezeroz@12329
    59
#define HAVE_SYS_TYPES_H 1
sezeroz@12329
    60
#define HAVE_STDIO_H 1
sezeroz@12329
    61
#define STDC_HEADERS 1
sezeroz@12329
    62
#define HAVE_STDLIB_H 1
sezeroz@12329
    63
#define HAVE_STDARG_H 1
sezeroz@12329
    64
#define HAVE_STDDEF_H 1
sezeroz@12329
    65
#define HAVE_MALLOC_H 1
sezeroz@12329
    66
#define HAVE_MEMORY_H 1
sezeroz@12329
    67
#define HAVE_STRING_H 1
sezeroz@12329
    68
#define HAVE_STRINGS_H 1
sezeroz@12329
    69
#define HAVE_WCHAR_H 1
sezeroz@12329
    70
#define HAVE_INTTYPES_H 1
sezeroz@12329
    71
#define HAVE_STDINT_H 1
sezeroz@12329
    72
#define HAVE_LIMITS_H 1
sezeroz@12329
    73
#define HAVE_CTYPE_H 1
sezeroz@12329
    74
#define HAVE_MATH_H 1
sezeroz@12329
    75
#define HAVE_FLOAT_H 1
sezeroz@12329
    76
#define HAVE_SIGNAL_H 1
sezeroz@12329
    77
sezeroz@12329
    78
#define HAVE_MALLOC 1
sezeroz@12329
    79
#define HAVE_CALLOC 1
sezeroz@12329
    80
#define HAVE_REALLOC 1
sezeroz@12329
    81
#define HAVE_FREE 1
sezeroz@12329
    82
#if defined(__WATCOMC__)
sezeroz@12329
    83
#define HAVE__FSEEKI64 1
sezeroz@12329
    84
#define HAVE__FTELLI64 1
sezeroz@12329
    85
#endif
sezeroz@12329
    86
#define HAVE_ALLOCA 1
sezeroz@12329
    87
#define HAVE_GETENV 1
sezeroz@12329
    88
#define HAVE_SETENV 1
sezeroz@12329
    89
#define HAVE_PUTENV 1
sezeroz@12329
    90
#define HAVE_QSORT 1
sezeroz@12329
    91
#define HAVE_ABS 1
sezeroz@12329
    92
#define HAVE_BCOPY 1
sezeroz@12329
    93
#define HAVE_MEMSET 1
sezeroz@12329
    94
#define HAVE_MEMCPY 1
sezeroz@12329
    95
#define HAVE_MEMMOVE 1
sezeroz@12329
    96
#define HAVE_MEMCMP 1
sezeroz@12329
    97
#define HAVE_WCSLEN 1
sezeroz@12329
    98
#define HAVE_WCSLCPY 1
sezeroz@12329
    99
#define HAVE_WCSLCAT 1
sezeroz@12329
   100
#define HAVE_WCSCMP 1
sezeroz@12329
   101
#define HAVE_STRLEN 1
sezeroz@12329
   102
#define HAVE_STRLCPY 1
sezeroz@12329
   103
#define HAVE_STRLCAT 1
sezeroz@12329
   104
#define HAVE__STRREV 1
sezeroz@12329
   105
#define HAVE__STRUPR 1
sezeroz@12329
   106
#define HAVE__STRLWR 1
sezeroz@12329
   107
#define HAVE_INDEX 1
sezeroz@12329
   108
#define HAVE_RINDEX 1
sezeroz@12329
   109
#define HAVE_STRCHR 1
sezeroz@12329
   110
#define HAVE_STRRCHR 1
sezeroz@12329
   111
#define HAVE_STRSTR 1
sezeroz@12329
   112
#define HAVE_ITOA 1
sezeroz@12329
   113
#define HAVE__LTOA 1
sezeroz@12329
   114
#define HAVE__ULTOA 1
sezeroz@12329
   115
#define HAVE_STRTOL 1
sezeroz@12329
   116
#define HAVE_STRTOUL 1
sezeroz@12329
   117
#define HAVE__I64TOA 1
sezeroz@12329
   118
#define HAVE__UI64TOA 1
sezeroz@12329
   119
#define HAVE_STRTOLL 1
sezeroz@12329
   120
#define HAVE_STRTOULL 1
sezeroz@12329
   121
#define HAVE_STRTOD 1
sezeroz@12329
   122
#define HAVE_ATOI 1
sezeroz@12329
   123
#define HAVE_ATOF 1
sezeroz@12329
   124
#define HAVE_STRCMP 1
sezeroz@12329
   125
#define HAVE_STRNCMP 1
sezeroz@12329
   126
#define HAVE_STRICMP 1
sezeroz@12329
   127
#define HAVE_STRCASECMP 1
sezeroz@12329
   128
#define HAVE_STRNCASECMP 1
sezeroz@12329
   129
#define HAVE_SSCANF 1
sezeroz@12329
   130
#define HAVE_SNPRINTF 1
sezeroz@12329
   131
#define HAVE_VSNPRINTF 1
sezeroz@12329
   132
#define HAVE_SETJMP 1
sezeroz@12329
   133
#define HAVE_ACOS 1
sezeroz@12329
   134
/* #undef HAVE_ACOSF */
sezeroz@12329
   135
#define HAVE_ASIN 1
sezeroz@12329
   136
/* #undef HAVE_ASINF */
sezeroz@12329
   137
#define HAVE_ATAN 1
sezeroz@12329
   138
#define HAVE_ATAN2 1
sezeroz@12329
   139
/* #undef HAVE_ATAN2F */
sezeroz@12329
   140
#define HAVE_CEIL 1
sezeroz@12329
   141
/* #undef HAVE_CEILF */
sezeroz@12329
   142
/* #undef HAVE_COPYSIGN */
sezeroz@12329
   143
/* #undef HAVE_COPYSIGNF */
sezeroz@12329
   144
#define HAVE_COS 1
sezeroz@12329
   145
/* #undef HAVE_COSF */
sezeroz@12329
   146
#define HAVE_EXP 1
sezeroz@12329
   147
/* #undef HAVE_EXPF */
sezeroz@12329
   148
#define HAVE_FABS 1
sezeroz@12329
   149
/* #undef HAVE_FABSF */
sezeroz@12329
   150
#define HAVE_FLOOR 1
sezeroz@12329
   151
/* #undef HAVE_FLOORF */
sezeroz@12329
   152
#define HAVE_FMOD 1
sezeroz@12329
   153
/* #undef HAVE_FMODF */
sezeroz@12329
   154
#define HAVE_LOG 1
sezeroz@12329
   155
/* #undef HAVE_LOGF */
sezeroz@12329
   156
#define HAVE_LOG10 1
sezeroz@12329
   157
/* #undef HAVE_LOG10F */
sezeroz@12329
   158
#define HAVE_POW 1
sezeroz@12329
   159
/* #undef HAVE_POWF */
sezeroz@12329
   160
#define HAVE_SIN 1
sezeroz@12329
   161
/* #undef HAVE_SINF */
sezeroz@12329
   162
/* #undef HAVE_SCALBN */
sezeroz@12329
   163
/* #undef HAVE_SCALBNF */
sezeroz@12329
   164
#define HAVE_SQRT 1
sezeroz@12329
   165
/* #undef HAVE_SQRTF */
sezeroz@12329
   166
#define HAVE_TAN 1
sezeroz@12329
   167
/* #undef HAVE_TANF */
sezeroz@12329
   168
sezeroz@12329
   169
#endif /* SDL_config_os2_h_ */