From 2ee370da2a9b62f73b20348100d20b7a3807a680 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 21 Nov 1993 10:12:08 +0000 Subject: (write_rbrac): Make added declarations conditional on __cplusplus and nothing else. From-SVN: r6129 --- gcc/fix-header.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') 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) { -- cgit v1.1