🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

207 lines
5.0 KiB

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