diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-12 23:42:09 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-12 23:42:09 +0000 |
commit | 5881bacc6ee49be2667717b23746b5b196b32775 (patch) | |
tree | 923d4d88feae43c7668b93127908c249c76cab7d /gcc | |
parent | 66b804be219715e7855a4e4f4091fa2d3cb588ef (diff) | |
download | gcc-5881bacc6ee49be2667717b23746b5b196b32775.zip gcc-5881bacc6ee49be2667717b23746b5b196b32775.tar.gz gcc-5881bacc6ee49be2667717b23746b5b196b32775.tar.bz2 |
(write_rbrac): Handle v*printf like memmove.
From-SVN: r6076
Diffstat (limited to 'gcc')
-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 3a08d93..3d6c4db 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) |