openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1489389 - /openoffice/trunk/main/sal/inc/sal/mathconf.h
Date Tue, 04 Jun 2013 11:22:50 GMT
Author: hdu
Date: Tue Jun  4 11:22:50 2013
New Revision: 1489389

URL: http://svn.apache.org/r1489389
Log:
fix gnuc_minor version check

Modified:
    openoffice/trunk/main/sal/inc/sal/mathconf.h

Modified: openoffice/trunk/main/sal/inc/sal/mathconf.h
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sal/inc/sal/mathconf.h?rev=1489389&r1=1489388&r2=1489389&view=diff
==============================================================================
--- openoffice/trunk/main/sal/inc/sal/mathconf.h (original)
+++ openoffice/trunk/main/sal/inc/sal/mathconf.h Tue Jun  4 11:22:50 2013
@@ -56,7 +56,7 @@ extern "C" {
 
 /* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
 #if defined(__GNUC__) // workaround gcc bug 14608
-	#if (__GNUC_MINOR >= 3) // gcc>=4.3 has a builtin
+	#if (__GNUC_MINOR__ >= 3) // gcc>=4.3 has a builtin
 		#define SAL_MATH_FINITE(d) __builtin_isfinite(d)
 	#else
 		#define SAL_MATH_FINITE(d) finite(d) // fall back to pre-C99 name



Mime
View raw message