- fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures
This commit is contained in:
Thomas Woerner 2006-11-02 17:55:21 +00:00
parent 768a0c358c
commit 02ebeb1820
3 changed files with 15 additions and 12 deletions

View File

@ -36,18 +36,18 @@ MA 02111-1307, USA. */
#if defined(__i386__) #if defined(__i386__)
#include "gmp-mparam-i386.h" #include "gmp-mparam-i386.h"
#elif defined(__x86_64__) #elif defined(__ia64__)
#include "gmp-mparam-x86_64.h" #include "gmp-mparam-ia64.h"
#elif defined(__powerpc64__) #elif defined(__powerpc64__)
#include "gmp-mparam-ppc64.h" #include "gmp-mparam-ppc64.h"
#elif defined(__powerpc__) #elif defined(__powerpc__)
#include "gmp-mparam-ppc.h" #include "gmp-mparam-ppc.h"
#elif defined(__s390__)
#include "gmp-mparam-s390.h"
#elif defined(__s390x__) #elif defined(__s390x__)
#include "gmp-mparam-s390x.h" #include "gmp-mparam-s390x.h"
#elif defined(__ia64__) #elif defined(__s390__)
#include "gmp-mparam-ia64.h" #include "gmp-mparam-s390.h"
#elif defined(__x86_64__)
#include "gmp-mparam-x86_64.h"
#else #else
#error "The gmp-devel package is not usable with the architecture." #error "The gmp-devel package is not usable with the architecture."
#endif #endif

12
gmp.h
View File

@ -37,18 +37,18 @@ MA 02111-1307, USA. */
#if defined(__i386__) #if defined(__i386__)
#include "gmp-i386.h" #include "gmp-i386.h"
#elif defined(__x86_64__) #elif defined(__ia64__)
#include "gmp-x86_64.h" #include "gmp-ia64.h"
#elif defined(__powerpc64__) #elif defined(__powerpc64__)
#include "gmp-ppc64.h" #include "gmp-ppc64.h"
#elif defined(__powerpc__) #elif defined(__powerpc__)
#include "gmp-ppc.h" #include "gmp-ppc.h"
#elif defined(__s390__)
#include "gmp-s390.h"
#elif defined(__s390x__) #elif defined(__s390x__)
#include "gmp-s390x.h" #include "gmp-s390x.h"
#elif defined(__ia64__) #elif defined(__s390__)
#include "gmp-ia64.h" #include "gmp-s390.h"
#elif defined(__x86_64__)
#include "gmp-x86_64.h"
#else #else
#error "The gmp-devel package is not usable with the architecture." #error "The gmp-devel package is not usable with the architecture."
#endif #endif

View File

@ -204,6 +204,9 @@ fi
%{_infodir}/mpfr.info* %{_infodir}/mpfr.info*
%changelog %changelog
* Thu Nov 2 2006 Thomas Woerner <twoerner@redhat.com> 4.1.4-10
- fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures
* Thu Nov 2 2006 Joe Orton <jorton@redhat.com> 4.1.4-10 * Thu Nov 2 2006 Joe Orton <jorton@redhat.com> 4.1.4-10
- include ppc64 header on ppc64 not ppc header - include ppc64 header on ppc64 not ppc header