Commit 1b4f90cd by Fred Fish Committed by Jason Merrill

fix-header.c (write_rbrac): Add putc and getc to list of functions to protect…

fix-header.c (write_rbrac): Add putc and getc to list of functions to protect against prior definition as a...

        * fix-header.c (write_rbrac): Add putc and getc to list of
        functions to protect against prior definition as a macro.

From-SVN: r36108
parent ca3920ad
2000-09-01 Fred Fish <fnf@be.com>
* fix-header.c (write_rbrac): Add putc and getc to list of
functions to protect against prior definition as a macro.
2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
* c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
......
......@@ -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")
......
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