components/mpfr/patches/000-mpfr-gmp.h.patch
changeset 219 22d9e175d379
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/mpfr/patches/000-mpfr-gmp.h.patch	Mon May 09 11:36:28 2011 -0700
@@ -0,0 +1,11 @@
+--- mpfr-gmp.h	2009-02-20 04:43:17.000000000 -0500
++++ mpfr-gmp.h	2009-09-21 18:54:44.058699000 -0400
+@@ -173,7 +173,7 @@
+ #define XDEBUG
+ 
+ /* For longlong.h */
+-#ifdef HAVE_ATTRIBUTE_MODE
++#if defined(HAVE_ATTRIBUTE_MODE) && defined(__GNUC__)
+ typedef unsigned int UQItype    __attribute__ ((mode (QI)));
+ typedef          int SItype     __attribute__ ((mode (SI)));
+ typedef unsigned int USItype    __attribute__ ((mode (SI)));