re PR libstdc++/58952 (Construct "std::getchar()" rejected when getchar is macro in C library)

2013-11-01  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/58952
	* include/c_global/cstdio: Undef getchar.

From-SVN: r204291
This commit is contained in:
Paolo Carlini 2013-11-01 11:10:55 +00:00 committed by Paolo Carlini
parent d081231ab5
commit 7115d32a36
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-11-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/58952
* include/c_global/cstdio: Undef getchar.
2013-11-01 Jonathan Wakely <jwakely.gcc@gmail.com>
N3421 C++1y Transparent functors

View File

@ -69,6 +69,7 @@ extern "C" char* gets (char* __s) __attribute__((deprecated));
#undef ftell
#undef fwrite
#undef getc
#undef getchar
#if __cplusplus <= 201103L
# undef gets
#endif