View | Details | Raw Unified | Return to issue 123228
Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +4 lines)
Line  Link Here
0
-- main/sal/inc/sal/mathconf.h
0
++ main/sal/inc/sal/mathconf.h
Lines 55-61 extern "C" { Link Here
55
55
56
56
57
/* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
57
/* SAL_MATH_FINITE(d): test double d on INFINITY, NaN et al. */
58
#if defined(__GNUC__) // workaround gcc bug 14608
58
#if defined(OS2) || defined(SOLARIS) // process pre-std platforms first
59
	#define SAL_MATH_FINITE(d) finite(d)
60
#elif defined(__GNUC__) // workaround gcc bug 14608
59
	#if (__GNUC_MINOR__ >= 3) // gcc>=4.3 has a builtin
61
	#if (__GNUC_MINOR__ >= 3) // gcc>=4.3 has a builtin
60
		#define SAL_MATH_FINITE(d) __builtin_isfinite(d)
62
		#define SAL_MATH_FINITE(d) __builtin_isfinite(d)
61
	#else
63
	#else
Lines 67-74 extern "C" { Link Here
67
	#define SAL_MATH_FINITE(d) isfinite(d)
69
	#define SAL_MATH_FINITE(d) isfinite(d)
68
#elif defined( WNT)
70
#elif defined( WNT)
69
#define SAL_MATH_FINITE(d) _finite(d)
71
#define SAL_MATH_FINITE(d) _finite(d)
70
#elif defined OS2
71
#define SAL_MATH_FINITE(d) finite(d)
72
#elif defined LINUX || defined UNX
72
#elif defined LINUX || defined UNX
73
#define SAL_MATH_FINITE(d) finite(d)
73
#define SAL_MATH_FINITE(d) finite(d)
74
#else /* WNT, LINUX, UNX */
74
#else /* WNT, LINUX, UNX */

Return to issue 123228