You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/06/04 13:22:50 UTC

svn commit: r1489389 - /openoffice/trunk/main/sal/inc/sal/mathconf.h

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