Patchwork [v3] libstdc++/58952

login
register
mail settings
Submitter Paolo Carlini
Date Nov. 1, 2013, 11:20 a.m.
Message ID <52738E61.3080202@oracle.com>
Download mbox | patch
Permalink /patch/287791/
State New
Headers show

Comments

Paolo Carlini - Nov. 1, 2013, 11:20 a.m.
Hi,

a simple, very old, oversight. Committed mainline and 4_8-branch.

Thanks,
Paolo.

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

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

Patch

Index: include/c_global/cstdio
===================================================================
--- include/c_global/cstdio	(revision 204289)
+++ include/c_global/cstdio	(working copy)
@@ -69,6 +69,7 @@ 
 #undef ftell
 #undef fwrite
 #undef getc
+#undef getchar
 #if __cplusplus <= 201103L
 # undef gets
 #endif