diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-17 08:39:37 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-17 08:39:37 +0000 |
commit | 806312312be4b8f2221e24b1c8948d699f951c50 (patch) | |
tree | 5e7bf9f23220d2040fcfadb13f809b682d1428b6 /fixincludes/tests | |
parent | d38deed0c640df17e625e27b226607e181fc3b4d (diff) | |
download | gcc-806312312be4b8f2221e24b1c8948d699f951c50.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199003 138bc75d-0d04-0410-961f-82ee72b054a4
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 |