Commit 7115d32a by Paolo Carlini Committed by Paolo Carlini

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
parent d081231a
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment