gcc/fixincludes/tests/base/iso/math_iso.h
Rainer Orth 0a91f65deb solaris_pow_int_overload should use __cplusplus
* inclhack.def (solaris_pow_int_overload): Update comment.
	Change guard to match <cmath>.
	* fixincl.x: Regenerate.
	* tests/base/iso/math_iso.h [SOLARIS_POW_INT_OVERLOAD_CHECK]:
	Matching change.

From-SVN: r199003
2013-05-17 08:39:37 +00:00

18 lines
453 B
C

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/iso/math_iso.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( SOLARIS_POW_INT_OVERLOAD_CHECK )
#if __cplusplus < 201103L
inline long double pow(long double __X, int __Y) { return
__powl(__X, (long double) (__Y)); }
#endif
#endif /* SOLARIS_POW_INT_OVERLOAD_CHECK */