gcc/fixincludes/tests/base/iso/math_iso.h
Rainer Orth d62bab6a7c re PR libstdc++/1773 (__cplusplus defined to 1, should be 199711L)
2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
	    Marc Glisse  <marc.glisse@normalesup.org>

	PR libstdc++-v3/1773
	* inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
	(solaris_longjmp_noreturn, solaris_pow_int_overload)
	(solaris_std___filbuf): New fixes.
	* tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
	tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
	* tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.

Co-Authored-By: Marc Glisse <marc.glisse@normalesup.org>

From-SVN: r177613
2011-08-10 08:43:38 +00:00

18 lines
462 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 )
#ifndef __GXX_EXPERIMENTAL_CXX0X__
inline long double pow(long double __X, int __Y) { return
__powl(__X, (long double) (__Y)); }
#endif
#endif /* SOLARIS_POW_INT_OVERLOAD_CHECK */