🛠️🐜 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.

95 lines
2.9 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_minimal_h_
  19. #define SDL_config_minimal_h_
  20. #define SDL_config_h_
  21. #include "SDL_platform.h"
  22. /**
  23. * \file SDL_config_minimal.h
  24. *
  25. * This is the minimal configuration that can be used to build SDL.
  26. */
  27. #define HAVE_STDARG_H 1
  28. #define HAVE_STDDEF_H 1
  29. #if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
  30. /* Most everything except Visual Studio 2008 and earlier has stdint.h now */
  31. #if defined(_MSC_VER) && (_MSC_VER < 1600)
  32. typedef signed __int8 int8_t;
  33. typedef unsigned __int8 uint8_t;
  34. typedef signed __int16 int16_t;
  35. typedef unsigned __int16 uint16_t;
  36. typedef signed __int32 int32_t;
  37. typedef unsigned __int32 uint32_t;
  38. typedef signed __int64 int64_t;
  39. typedef unsigned __int64 uint64_t;
  40. #ifndef _UINTPTR_T_DEFINED
  41. #ifdef _WIN64
  42. typedef unsigned __int64 uintptr_t;
  43. #else
  44. typedef unsigned int uintptr_t;
  45. #endif
  46. #define _UINTPTR_T_DEFINED
  47. #endif
  48. #else
  49. #define HAVE_STDINT_H 1
  50. #endif /* Visual Studio 2008 */
  51. #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
  52. #ifdef __GNUC__
  53. #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
  54. #endif
  55. /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
  56. #define SDL_AUDIO_DRIVER_DUMMY 1
  57. /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
  58. #define SDL_JOYSTICK_DISABLED 1
  59. /* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
  60. #define SDL_HAPTIC_DISABLED 1
  61. /* Enable the stub HIDAPI */
  62. #define SDL_HIDAPI_DISABLED 1
  63. /* Enable the stub sensor driver (src/sensor/dummy/\*.c) */
  64. #define SDL_SENSOR_DISABLED 1
  65. /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
  66. #define SDL_LOADSO_DISABLED 1
  67. /* Enable the stub thread support (src/thread/generic/\*.c) */
  68. #define SDL_THREADS_DISABLED 1
  69. /* Enable the stub timer support (src/timer/dummy/\*.c) */
  70. #define SDL_TIMERS_DISABLED 1
  71. /* Enable the dummy video driver (src/video/dummy/\*.c) */
  72. #define SDL_VIDEO_DRIVER_DUMMY 1
  73. /* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
  74. #define SDL_FILESYSTEM_DUMMY 1
  75. #endif /* SDL_config_minimal_h_ */