Upload Tizen:Base source
[external/gmp.git] / packaging / gmp-mparam.h
1 /* Generic x86 gmp-mparam.h -- Compiler/machine parameter header file.
2
3 Copyright 1991, 1993, 1994, 2000, 2001, 2002 Free Software Foundation, Inc.
4
5 This file is part of the GNU MP Library.
6
7 The GNU MP Library is free software; you can redistribute it and/or modify
8 it under the terms of the GNU Lesser General Public License as published by
9 the Free Software Foundation; either version 2.1 of the License, or (at your
10 option) any later version.
11
12 The GNU MP Library is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15 License for more details.
16
17 You should have received a copy of the GNU Lesser General Public License
18 along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
20 MA 02111-1307, USA. */
21
22 /*
23  * This gmp-mparam.h is a wrapper include file for the original gmp-mparam.h, 
24  * which has been renamed to gmp-mparam-<arch>.h. There are conflicts for the
25  * original gmp-mparam.h on multilib systems, which result from arch-specific
26  * configuration options. Please do not use the arch-specific file directly.
27  *
28  * Copyright (C) 2006 Red Hat, Inc.
29  * Thomas Woerner <twoerner@redhat.com>
30  */
31
32 #ifdef gmp_mparam_wrapper_h
33 #error "gmp_mparam_wrapper_h should not be defined!"
34 #endif
35 #define gmp_mparam_wrapper_h
36
37 #if defined(__arm__)
38 #include "gmp-mparam-arm.h"
39 #elif defined(__i386__)
40 #include "gmp-mparam-i386.h"
41 #elif defined(__ia64__)
42 #include "gmp-mparam-ia64.h"
43 #elif defined(__powerpc64__)
44 #include "gmp-mparam-ppc64.h"
45 #elif defined(__powerpc__)
46 #include "gmp-mparam-ppc.h"
47 #elif defined(__s390x__)
48 #include "gmp-mparam-s390x.h"
49 #elif defined(__s390__)
50 #include "gmp-mparam-s390.h"
51 #elif defined(__x86_64__)
52 #include "gmp-mparam-x86_64.h"
53 #elif defined(__alpha__)
54 #include "gmp-mparam-alpha.h"
55 #elif defined(__sh__)
56 #include "gmp-mparam-sh.h"
57 #elif defined(__sparc__) && defined (__arch64__)
58 #include "gmp-mparam-sparc64.h"
59 #elif defined(__sparc__)                      
60 #include "gmp-mparam-sparc.h"
61 #else
62 #error "The gmp-devel package is not usable with the architecture."
63 #endif
64
65 #undef gmp_mparam_wrapper_h