OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9662097
)
(write_rbrac): Make added declarations conditional
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Nov 1993 10:12:08 +0000
(10:12 +0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 21 Nov 1993 10:12:08 +0000
(10:12 +0000)
on __cplusplus and nothing else.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6129
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/fix-header.c
patch
|
blob
|
history
diff --git
a/gcc/fix-header.c
b/gcc/fix-header.c
index
06fc092
..
b6de982
100644
(file)
--- 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, "#if
def __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)
{