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