4af77d
/* Generic x86 gmp-mparam.h -- Compiler/machine parameter header file.
4af77d
4af77d
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003,
4af77d
2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
4af77d
4af77d
This file is part of the GNU MP Library.
4af77d
4af77d
The GNU MP Library is free software; you can redistribute it and/or modify
4af77d
it under the terms of the GNU Lesser General Public License as published by
4af77d
the Free Software Foundation; either version 3 of the License, or (at your
4af77d
option) any later version.
4af77d
4af77d
The GNU MP Library is distributed in the hope that it will be useful, but
4af77d
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
4af77d
or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
4af77d
License for more details.
4af77d
4af77d
You should have received a copy of the GNU Lesser General Public License
4af77d
along with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.  */
4af77d
4af77d
/*
4af77d
 * This gmp-mparam.h is a wrapper include file for the original gmp-mparam.h, 
4af77d
 * which has been renamed to gmp-mparam-<arch>.h. There are conflicts for the
4af77d
 * original gmp-mparam.h on multilib systems, which result from arch-specific
4af77d
 * configuration options. Please do not use the arch-specific file directly.
4af77d
 *
4af77d
 * Copyright (C) 2006 Red Hat, Inc.
4af77d
 * Thomas Woerner <twoerner@redhat.com>
4af77d
 */
4af77d
4af77d
#ifdef gmp_mparam_wrapper_h
4af77d
#error "gmp_mparam_wrapper_h should not be defined!"
4af77d
#endif
4af77d
#define gmp_mparam_wrapper_h
4af77d
4af77d
#if defined(__arm__)
4af77d
#include "gmp-mparam-arm.h"
4af77d
#elif defined(__i386__)
4af77d
#include "gmp-mparam-i386.h"
4af77d
#elif defined(__ia64__)
4af77d
#include "gmp-mparam-ia64.h"
4af77d
#elif defined(__powerpc64__)
4af77d
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
4af77d
#include "gmp-mparam-ppc64.h"
4af77d
# else
4af77d
#include "gmp-mparam-ppc64le.h"
4af77d
# endif
4af77d
#elif defined(__powerpc__)
4af77d
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
4af77d
#include "gmp-mparam-ppc.h"
4af77d
# else
4af77d
#include "gmp-mparam-ppcle.h"
4af77d
# endif
4af77d
#elif defined(__s390x__)
4af77d
#include "gmp-mparam-s390x.h"
4af77d
#elif defined(__s390__)
4af77d
#include "gmp-mparam-s390.h"
4af77d
#elif defined(__x86_64__)
4af77d
#include "gmp-mparam-x86_64.h"
4af77d
#elif defined(__alpha__)
4af77d
#include "gmp-mparam-alpha.h"
4af77d
#elif defined(__sh__)
4af77d
#include "gmp-mparam-sh.h"
4af77d
#elif defined(__sparc__) && defined (__arch64__)
4af77d
#include "gmp-mparam-sparc64.h"
4af77d
#elif defined(__sparc__)                      
4af77d
#include "gmp-mparam-sparc.h"
4af77d
#elif defined(__aarch64__)
4af77d
#include "gmp-mparam-aarch64.h"
4af77d
#else
4af77d
#error "The gmp-devel package is not usable with the architecture."
4af77d
#endif
4af77d
4af77d
#undef gmp_mparam_wrapper_h