Blame SOURCES/SDL_config.h

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