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