Blame SOURCES/SDL_config.h

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