0a8bd8
/*
0a8bd8
    SDL - Simple DirectMedia Layer
0a8bd8
    Copyright (C) 1997-2006 Sam Lantinga
0a8bd8
0a8bd8
    This library is free software; you can redistribute it and/or
0a8bd8
    modify it under the terms of the GNU Lesser General Public
0a8bd8
    License as published by the Free Software Foundation; either
0a8bd8
    version 2.1 of the License, or (at your option) any later version.
0a8bd8
0a8bd8
    This library is distributed in the hope that it will be useful,
0a8bd8
    but WITHOUT ANY WARRANTY; without even the implied warranty of
0a8bd8
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0a8bd8
    Lesser General Public License for more details.
0a8bd8
0a8bd8
    You should have received a copy of the GNU Lesser General Public
0a8bd8
    License along with this library; if not, write to the Free Software
0a8bd8
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
0a8bd8
0a8bd8
    Sam Lantinga
0a8bd8
    slouken@libsdl.org
0a8bd8
*/
0a8bd8
0a8bd8
/*
0a8bd8
 * This SDL_config.h is a wrapper include file for the original SDL_config.h, 
0a8bd8
 * which has been renamed to SDL_config-<arch>.h. There are conflicts for the 
0a8bd8
 * original SDL_config.h on multilib systems, which result from arch-specific
0a8bd8
 * configuration options. Please do not use the arch-specific file directly.
0a8bd8
 *
0a8bd8
 * Copyright (C) 2006 Red Hat, Inc.
0a8bd8
 * Thomas Woerner <twoerner@redhat.com>
0a8bd8
 */
0a8bd8
0a8bd8
#ifdef SDL_config_wrapper_h
0a8bd8
#error "SDL_config_wrapper_h should not be defined!"
0a8bd8
#endif
0a8bd8
#define SDL_config_wrapper_h
0a8bd8
0a8bd8
#if defined(__i386__)
0a8bd8
#include "SDL_config-i386.h"
0a8bd8
#elif defined(__ia64__)
0a8bd8
#include "SDL_config-ia64.h"
0a8bd8
#elif defined(__powerpc64__)
0a8bd8
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
0a8bd8
#include "SDL_config-ppc64.h"
0a8bd8
#else
0a8bd8
#include "SDL_config-ppc64le.h"
0a8bd8
#endif
0a8bd8
#elif defined(__powerpc__)
0a8bd8
#include "SDL_config-ppc.h"
0a8bd8
#elif defined(__s390x__)
0a8bd8
#include "SDL_config-s390x.h"
0a8bd8
#elif defined(__s390__)
0a8bd8
#include "SDL_config-s390.h"
0a8bd8
#elif defined(__x86_64__)
0a8bd8
#include "SDL_config-x86_64.h"
0a8bd8
#elif defined(__arm__)
0a8bd8
#include "SDL_config-arm.h"
0a8bd8
#elif defined(__alpha__)
0a8bd8
#include "SDL_config-alpha.h"
0a8bd8
#elif defined(__sparc__) && defined (__arch64__)
0a8bd8
#include "SDL_config-sparc64.h"
0a8bd8
#elif defined(__sparc__)
0a8bd8
#include "SDL_config-sparc.h"
0a8bd8
#elif defined(__aarch64__)
0a8bd8
#include "SDL_config-aarch64.h"
0a8bd8
#else
0a8bd8
#error "The SDL-devel package is not usable with the architecture."
0a8bd8
#endif
0a8bd8
0a8bd8
#undef SDL_config_wrapper_h