Files
.github
CMakeModules
LICENSES
dist
externals
FidelityFX-FSR
SDL
.github
VisualC
VisualC-WinRT
Xcode
Xcode-iOS
acinclude
android-project
android-project-ant
build-scripts
cmake
debian
docs
include
SDL.h
SDL_assert.h
SDL_atomic.h
SDL_audio.h
SDL_bits.h
SDL_blendmode.h
SDL_clipboard.h
SDL_config.h
SDL_config.h.cmake
SDL_config.h.in
SDL_config_android.h
SDL_config_emscripten.h
SDL_config_iphoneos.h
SDL_config_macosx.h
SDL_config_minimal.h
SDL_config_os2.h
SDL_config_pandora.h
SDL_config_psp.h
SDL_config_windows.h
SDL_config_winrt.h
SDL_config_wiz.h
SDL_copying.h
SDL_cpuinfo.h
SDL_egl.h
SDL_endian.h
SDL_error.h
SDL_events.h
SDL_filesystem.h
SDL_gamecontroller.h
SDL_gesture.h
SDL_haptic.h
SDL_hidapi.h
SDL_hints.h
SDL_joystick.h
SDL_keyboard.h
SDL_keycode.h
SDL_loadso.h
SDL_locale.h
SDL_log.h
SDL_main.h
SDL_messagebox.h
SDL_metal.h
SDL_misc.h
SDL_mouse.h
SDL_mutex.h
SDL_name.h
SDL_opengl.h
SDL_opengl_glext.h
SDL_opengles.h
SDL_opengles2.h
SDL_opengles2_gl2.h
SDL_opengles2_gl2ext.h
SDL_opengles2_gl2platform.h
SDL_opengles2_khrplatform.h
SDL_pixels.h
SDL_platform.h
SDL_power.h
SDL_quit.h
SDL_rect.h
SDL_render.h
SDL_revision.h
SDL_revision.h.cmake
SDL_rwops.h
SDL_scancode.h
SDL_sensor.h
SDL_shape.h
SDL_stdinc.h
SDL_surface.h
SDL_system.h
SDL_syswm.h
SDL_test.h
SDL_test_assert.h
SDL_test_common.h
SDL_test_compare.h
SDL_test_crc32.h
SDL_test_font.h
SDL_test_fuzzer.h
SDL_test_harness.h
SDL_test_images.h
SDL_test_log.h
SDL_test_md5.h
SDL_test_memory.h
SDL_test_random.h
SDL_thread.h
SDL_timer.h
SDL_touch.h
SDL_types.h
SDL_version.h
SDL_video.h
SDL_vulkan.h
begin_code.h
close_code.h
src
test
visualtest
wayland-protocols
.gitignore
Android.mk
BUGS.txt
CMakeLists.txt
CREDITS.txt
INSTALL.txt
LICENSE.txt
Makefile.in
Makefile.minimal
Makefile.os2
Makefile.pandora
Makefile.psp
Makefile.wiz
README-SDL.txt
README.md
SDL2.spec.in
SDL2Config.cmake
TODO.txt
WhatsNew.txt
autogen.sh
cmake_uninstall.cmake.in
configure
configure.ac
sdl2-config-version.cmake.in
sdl2-config.cmake.in
sdl2-config.in
sdl2.m4
sdl2.pc.in
Vulkan-Headers
cmake-modules
cpp-httplib
cpp-jwt
cubeb
discord-rpc
dynarmic
enet
ffmpeg
find-modules
getopt
glad
inih
libressl
libusb
mbedtls
microprofile
opus
sirit
vcpkg
xbyak
CMakeLists.txt
hooks
patches
src
CMakeLists.txt
CONTRIBUTING.md
Doxyfile
LICENSE.txt
README.md
license.txt
vcpkg.json
yuzu/externals/SDL/include/SDL_config_minimal.h

89 lines
2.7 KiB
C
Raw Normal View History

2021-04-18 05:35:25 +02:00
/*
Simple DirectMedia Layer
2022-07-15 04:00:50 +02:00
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
2021-04-18 05:35:25 +02:00
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#ifndef SDL_config_minimal_h_
#define SDL_config_minimal_h_
#define SDL_config_h_
#include "SDL_platform.h"
/**
* \file SDL_config_minimal.h
*
* This is the minimal configuration that can be used to build SDL.
*/
#define HAVE_STDARG_H 1
#define HAVE_STDDEF_H 1
/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
#if defined(_MSC_VER) && (_MSC_VER < 1600)
/* Here are some reasonable defaults */
typedef unsigned int size_t;
typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef signed long long int64_t;
typedef unsigned long long uint64_t;
typedef unsigned long uintptr_t;
#else
#define HAVE_STDINT_H 1
#endif /* Visual Studio 2008 */
#ifdef __GNUC__
#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
#endif
/* Enable the dummy audio driver (src/audio/dummy/\*.c) */
#define SDL_AUDIO_DRIVER_DUMMY 1
/* Enable the stub joystick driver (src/joystick/dummy/\*.c) */
#define SDL_JOYSTICK_DISABLED 1
/* Enable the stub haptic driver (src/haptic/dummy/\*.c) */
#define SDL_HAPTIC_DISABLED 1
2021-12-07 02:20:09 +01:00
/* Enable the stub HIDAPI */
#define SDL_HIDAPI_DISABLED 1
2021-04-18 05:35:25 +02:00
/* Enable the stub sensor driver (src/sensor/dummy/\*.c) */
#define SDL_SENSOR_DISABLED 1
/* Enable the stub shared object loader (src/loadso/dummy/\*.c) */
#define SDL_LOADSO_DISABLED 1
/* Enable the stub thread support (src/thread/generic/\*.c) */
#define SDL_THREADS_DISABLED 1
/* Enable the stub timer support (src/timer/dummy/\*.c) */
#define SDL_TIMERS_DISABLED 1
/* Enable the dummy video driver (src/video/dummy/\*.c) */
#define SDL_VIDEO_DRIVER_DUMMY 1
/* Enable the dummy filesystem driver (src/filesystem/dummy/\*.c) */
#define SDL_FILESYSTEM_DUMMY 1
#endif /* SDL_config_minimal_h_ */