|
|
a8bd53 |
/*
|
|
|
a8bd53 |
Simple DirectMedia Layer
|
|
|
a8bd53 |
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
|
a8bd53 |
|
|
|
a8bd53 |
This software is provided 'as-is', without any express or implied
|
|
|
a8bd53 |
warranty. In no event will the authors be held liable for any damages
|
|
|
a8bd53 |
arising from the use of this software.
|
|
|
a8bd53 |
|
|
|
a8bd53 |
Permission is granted to anyone to use this software for any purpose,
|
|
|
a8bd53 |
including commercial applications, and to alter it and redistribute it
|
|
|
a8bd53 |
freely, subject to the following restrictions:
|
|
|
a8bd53 |
|
|
|
a8bd53 |
1. The origin of this software must not be misrepresented; you must not
|
|
|
a8bd53 |
claim that you wrote the original software. If you use this software
|
|
|
a8bd53 |
in a product, an acknowledgment in the product documentation would be
|
|
|
a8bd53 |
appreciated but is not required.
|
|
|
a8bd53 |
2. Altered source versions must be plainly marked as such, and must not be
|
|
|
a8bd53 |
misrepresented as being the original software.
|
|
|
a8bd53 |
3. This notice may not be removed or altered from any source distribution.
|
|
|
a8bd53 |
*/
|
|
|
a8bd53 |
|
|
|
a8bd53 |
/*
|
|
|
a8bd53 |
* This SDL_config.h is a wrapper include file for the original SDL_config.h,
|
|
|
a8bd53 |
* which has been renamed to SDL_config-<arch>.h. There are conflicts for the
|
|
|
a8bd53 |
* original SDL_config.h on multilib systems, which result from arch-specific
|
|
|
a8bd53 |
* configuration options. Please do not use the arch-specific file directly.
|
|
|
a8bd53 |
*
|
|
|
a8bd53 |
* Copyright (C) 2021 Neal Gompa
|
|
|
a8bd53 |
* Neal Gompa <ngompa13@gmail.com>
|
|
|
a8bd53 |
*/
|
|
|
a8bd53 |
|
|
|
a8bd53 |
#ifdef SDL_config_wrapper_h
|
|
|
a8bd53 |
#error "SDL_config_wrapper_h should not be defined!"
|
|
|
a8bd53 |
#endif
|
|
|
a8bd53 |
#define SDL_config_wrapper_h
|
|
|
a8bd53 |
|
|
|
a8bd53 |
#if defined(__i386__)
|
|
|
a8bd53 |
#include "SDL_config-i386.h"
|
|
|
a8bd53 |
#elif defined(__ia64__)
|
|
|
a8bd53 |
#include "SDL_config-ia64.h"
|
|
|
a8bd53 |
#elif defined(__powerpc64__)
|
|
|
a8bd53 |
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
|
|
a8bd53 |
#include "SDL_config-ppc64.h"
|
|
|
a8bd53 |
#else
|
|
|
a8bd53 |
#include "SDL_config-ppc64le.h"
|
|
|
a8bd53 |
#endif
|
|
|
a8bd53 |
#elif defined(__powerpc__)
|
|
|
a8bd53 |
#include "SDL_config-ppc.h"
|
|
|
a8bd53 |
#elif defined(__s390x__)
|
|
|
a8bd53 |
#include "SDL_config-s390x.h"
|
|
|
a8bd53 |
#elif defined(__s390__)
|
|
|
a8bd53 |
#include "SDL_config-s390.h"
|
|
|
a8bd53 |
#elif defined(__x86_64__)
|
|
|
a8bd53 |
#include "SDL_config-x86_64.h"
|
|
|
a8bd53 |
#elif defined(__arm__)
|
|
|
a8bd53 |
#include "SDL_config-arm.h"
|
|
|
a8bd53 |
#elif defined(__alpha__)
|
|
|
a8bd53 |
#include "SDL_config-alpha.h"
|
|
|
a8bd53 |
#elif defined(__sparc__) && defined (__arch64__)
|
|
|
a8bd53 |
#include "SDL_config-sparc64.h"
|
|
|
a8bd53 |
#elif defined(__sparc__)
|
|
|
a8bd53 |
#include "SDL_config-sparc.h"
|
|
|
a8bd53 |
#elif defined(__aarch64__)
|
|
|
a8bd53 |
#include "SDL_config-aarch64.h"
|
|
|
a8bd53 |
#elif defined(__mips64) && defined(__MIPSEL__)
|
|
|
a8bd53 |
#include "SDL_config-mips64el.h"
|
|
|
a8bd53 |
#elif defined(__mips64)
|
|
|
a8bd53 |
#include "SDL_config-mips64.h"
|
|
|
a8bd53 |
#elif defined(__mips) && defined(__MIPSEL__)
|
|
|
a8bd53 |
#include "SDL_config-mipsel.h"
|
|
|
a8bd53 |
#elif defined(__mips)
|
|
|
a8bd53 |
#include "SDL_config-mips.h"
|
|
|
a8bd53 |
#elif defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64
|
|
|
a8bd53 |
#include "SDL_config-riscv64.h"
|
|
|
a8bd53 |
#else
|
|
|
a8bd53 |
#error "The sdl12-compat-devel package is not usable with the architecture."
|
|
|
a8bd53 |
#endif
|
|
|
a8bd53 |
|
|
|
a8bd53 |
#undef SDL_config_wrapper_h
|