From 02ebeb182005a1d58be37172ce6833b959a81884 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Thu, 2 Nov 2006 17:55:21 +0000 Subject: [PATCH] [tw] - fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures --- gmp-mparam.h | 12 ++++++------ gmp.h | 12 ++++++------ gmp.spec | 3 +++ 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/gmp-mparam.h b/gmp-mparam.h index 3cb3f1c..c4c28b9 100644 --- a/gmp-mparam.h +++ b/gmp-mparam.h @@ -36,18 +36,18 @@ MA 02111-1307, USA. */ #if defined(__i386__) #include "gmp-mparam-i386.h" -#elif defined(__x86_64__) -#include "gmp-mparam-x86_64.h" +#elif defined(__ia64__) +#include "gmp-mparam-ia64.h" #elif defined(__powerpc64__) #include "gmp-mparam-ppc64.h" #elif defined(__powerpc__) #include "gmp-mparam-ppc.h" -#elif defined(__s390__) -#include "gmp-mparam-s390.h" #elif defined(__s390x__) #include "gmp-mparam-s390x.h" -#elif defined(__ia64__) -#include "gmp-mparam-ia64.h" +#elif defined(__s390__) +#include "gmp-mparam-s390.h" +#elif defined(__x86_64__) +#include "gmp-mparam-x86_64.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.h b/gmp.h index 485666d..48e0af0 100644 --- a/gmp.h +++ b/gmp.h @@ -37,18 +37,18 @@ MA 02111-1307, USA. */ #if defined(__i386__) #include "gmp-i386.h" -#elif defined(__x86_64__) -#include "gmp-x86_64.h" +#elif defined(__ia64__) +#include "gmp-ia64.h" #elif defined(__powerpc64__) #include "gmp-ppc64.h" #elif defined(__powerpc__) #include "gmp-ppc.h" -#elif defined(__s390__) -#include "gmp-s390.h" #elif defined(__s390x__) #include "gmp-s390x.h" -#elif defined(__ia64__) -#include "gmp-ia64.h" +#elif defined(__s390__) +#include "gmp-s390.h" +#elif defined(__x86_64__) +#include "gmp-x86_64.h" #else #error "The gmp-devel package is not usable with the architecture." #endif diff --git a/gmp.spec b/gmp.spec index 2c34c0e..4c33201 100644 --- a/gmp.spec +++ b/gmp.spec @@ -204,6 +204,9 @@ fi %{_infodir}/mpfr.info* %changelog +* Thu Nov 2 2006 Thomas Woerner 4.1.4-10 +- fixed arch order in gmp.h and gmp-mparam.h wrapper for all architectures + * Thu Nov 2 2006 Joe Orton 4.1.4-10 - include ppc64 header on ppc64 not ppc header