re PR libstdc++/58952 (Construct "std::getchar()" rejected when getchar is macro...
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 1 Nov 2013 11:10:55 +0000 (11:10 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 1 Nov 2013 11:10:55 +0000 (11:10 +0000)
2013-11-01  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r204291

libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cstdio

index 40d4879..4b3ad1a 100644 (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
index 699a076..b566073 100644 (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