gcc/fixincludes/tests/base/iso/stdlib_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

17 lines
429 B
C++

/* DO NOT EDIT THIS FILE.
It has been auto-edited by fixincludes from:
"fixinc/tests/inc/iso/stdlib_iso.h"
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
#if defined( SOLARIS_CXX_LINKAGE_CHECK )
#if __cplusplus >= 199711L && !__GNUG__
extern "C++" {
void *bsearch(const void *, const void *, size_t, size_t,
#endif /* SOLARIS_CXX_LINKAGE_CHECK */