components/mpfr/patches/000-mpfr-gmp.h.patch
author Sonam Gupta <sonam.x.gupta@oracle.com>
Fri, 17 May 2013 20:31:53 +0200
branchs11u1-sru
changeset 2625 5dad0fc5ed82
parent 219 22d9e175d379
permissions -rw-r--r--
16362516 lpstat and lpq commands report bad value 16321334 lpstat -p always reports job id as '-0' 15731683 SUNBT7072114 cupsd: segfault in move_job+0x29d

--- 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)));