summaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-01 22:43:56 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-01 22:43:56 +0000
commit84c2d94cb65d97578411b46676b9ab866f0344e5 (patch)
tree48f69603d507df49f55f7ce133dfc4b0105b4014 /gcc/fix-header.c
parent356b51a0c47ed3a5d84c3d3dcef3ed04c1b402b3 (diff)
downloadgcc-84c2d94cb65d97578411b46676b9ab866f0344e5.tar.gz
* fix-header.c (write_rbrac): Add putc and getc to list of
functions to protect against prior definition as a macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36108 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 3dadb0e8ab9..25c75bb99e4 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -778,6 +778,8 @@ write_rbrac ()
/* In the case of memmove, protect in case the application
defines it as a macro before including the header. */
if (!strcmp (fn->fname, "memmove")
+ || !strcmp (fn->fname, "putc")
+ || !strcmp (fn->fname, "getc")
|| !strcmp (fn->fname, "vprintf")
|| !strcmp (fn->fname, "vfprintf")
|| !strcmp (fn->fname, "vsprintf")