diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2013-05-17 08:39:37 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2013-05-17 08:39:37 +0000 |
commit | 0a91f65deba068300da5c8cc30ef3124f758bfbb (patch) | |
tree | 5e7bf9f23220d2040fcfadb13f809b682d1428b6 /fixincludes/tests | |
parent | 52d8441318ecc69f8b63e6d2b595034f8245662f (diff) | |
download | gcc-0a91f65deba068300da5c8cc30ef3124f758bfbb.tar.gz |
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
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/iso/math_iso.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fixincludes/tests/base/iso/math_iso.h b/fixincludes/tests/base/iso/math_iso.h index 6c08a94bb54..a1313a7f493 100644 --- a/fixincludes/tests/base/iso/math_iso.h +++ b/fixincludes/tests/base/iso/math_iso.h @@ -10,7 +10,7 @@ #if defined( SOLARIS_POW_INT_OVERLOAD_CHECK ) -#ifndef __GXX_EXPERIMENTAL_CXX0X__ +#if __cplusplus < 201103L inline long double pow(long double __X, int __Y) { return __powl(__X, (long double) (__Y)); } #endif |