Path: blob/master/thirdparty/sdl/include/build_config/SDL_build_config.h
9913 views
/*1Simple DirectMedia Layer2Copyright (C) 1997-2025 Sam Lantinga <[email protected]>34This software is provided 'as-is', without any express or implied5warranty. In no event will the authors be held liable for any damages6arising from the use of this software.78Permission is granted to anyone to use this software for any purpose,9including commercial applications, and to alter it and redistribute it10freely, subject to the following restrictions:11121. The origin of this software must not be misrepresented; you must not13claim that you wrote the original software. If you use this software14in a product, an acknowledgment in the product documentation would be15appreciated but is not required.162. Altered source versions must be plainly marked as such, and must not be17misrepresented as being the original software.183. This notice may not be removed or altered from any source distribution.19*/2021#ifndef SDL_build_config_h_22#define SDL_build_config_h_2324#include <SDL3/SDL_platform_defines.h>2526/**27* \file SDL_build_config.h28*29* This is a set of defines to configure the SDL features30*/3132/* Add any platform that doesn't build using the configure system. */33#if defined(SDL_PLATFORM_PRIVATE)34#include "SDL_build_config_private.h"35#elif defined(SDL_PLATFORM_WIN32)36#include "SDL_build_config_windows.h"37#elif defined(SDL_PLATFORM_WINGDK)38#include "SDL_build_config_wingdk.h"39#elif defined(SDL_PLATFORM_XBOXONE) || defined(SDL_PLATFORM_XBOXSERIES)40#include "SDL_build_config_xbox.h"41#elif defined(SDL_PLATFORM_MACOS)42#include "SDL_build_config_macos.h"43#elif defined(SDL_PLATFORM_IOS)44#include "SDL_build_config_ios.h"45#elif defined(SDL_PLATFORM_ANDROID)46#include "SDL_build_config_android.h"47#else48/* This is a minimal configuration just to get SDL running on new platforms. */49#include "SDL_build_config_minimal.h"50#endif /* platform config */5152#ifdef USING_GENERATED_CONFIG_H53#error Wrong SDL_build_config.h, check your include path?54#endif5556#endif /* SDL_build_config_h_ */575859