Blame SOURCES/SDL_config.h

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