aboutsummaryrefslogtreecommitdiff
path: root/gcc/fix-header.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-21 10:12:08 +0000
committerRichard Stallman <rms@gnu.org>1993-11-21 10:12:08 +0000
commit2ee370da2a9b62f73b20348100d20b7a3807a680 (patch)
tree3be46b152c6119322e9125ae7e55611d243d62b8 /gcc/fix-header.c
parentf0013113aed2fd009d352be98093cad671e04248 (diff)
downloadgcc-2ee370da2a9b62f73b20348100d20b7a3807a680.zip
gcc-2ee370da2a9b62f73b20348100d20b7a3807a680.tar.gz
gcc-2ee370da2a9b62f73b20348100d20b7a3807a680.tar.bz2
(write_rbrac): Make added declarations conditional
on __cplusplus and nothing else. From-SVN: r6129
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r--gcc/fix-header.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c
index 06fc092..b6de982 100644
--- a/gcc/fix-header.c
+++ b/gcc/fix-header.c
@@ -366,7 +366,7 @@ write_rbrac ()
register struct partial_proto *partial;
if (required_unseen_count)
- fprintf (outf, "#if defined(__STDC__) || defined(__cplusplus)\n");
+ fprintf (outf, "#ifdef __cplusplus\n");
/* Now we print out prototypes for those functions that we haven't seen. */
for (rptr = required_functions; *rptr; rptr++)
@@ -395,7 +395,7 @@ write_rbrac ()
}
if (required_unseen_count)
fprintf (outf,
- "#endif /* defined(__STDC__) || defined(__cplusplus) */\n");
+ "#endif /* defined(__cplusplus) */\n");
switch (special_file_handling)
{