diff options
author | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-12 23:42:09 +0000 |
---|---|---|
committer | rms <rms@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-11-12 23:42:09 +0000 |
commit | 778bd49085e5e26bea1dfa8d6065489dc66a19b7 (patch) | |
tree | 923d4d88feae43c7668b93127908c249c76cab7d /gcc/fix-header.c | |
parent | f0e75574f67f62107f19f715633a5df9bbb90705 (diff) | |
download | gcc-778bd49085e5e26bea1dfa8d6065489dc66a19b7.tar.gz |
(write_rbrac): Handle v*printf like memmove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6076 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 3a08d9365f7..3d6c4dbc480 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -379,7 +379,10 @@ 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")) + if (!strcmp (fn->fname, "memmove") + || !strcmp (fn->fname, "vprintf") + || !strcmp (fn->fname, "vfprintf") + || !strcmp (fn->fname, "vsprintf")) macro_protect = 1; if (macro_protect) |