[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sal/inc
Herbert Dürr
hdu at apache.org
Tue Jun 4 05:07:19 PDT 2013
sal/inc/sal/mathconf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2d9ea78c63a73622cbdd77f8e7ce114cef47deb1
Author: Herbert Dürr <hdu at apache.org>
Date: Tue Jun 4 11:22:50 2013 +0000
fix gnuc_minor version check
diff --git a/sal/inc/sal/mathconf.h b/sal/inc/sal/mathconf.h
index e7fd4fd..dfeffdc 100644
--- a/sal/inc/sal/mathconf.h
+++ b/sal/inc/sal/mathconf.h
@@ -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
More information about the Libreoffice-commits
mailing list