summaryrefslogtreecommitdiff
path: root/gcc/enquire.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-04 02:19:20 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-05-04 02:19:20 +0000
commit698d08df068391986d4a4ebb817e023aa7f8e773 (patch)
treeeed7926c8d1bf107b113b56c8aef3d15a687ef80 /gcc/enquire.c
parent7c898a79754ba8d7d3859d5b2fb485790e9cf56b (diff)
downloadgcc-698d08df068391986d4a4ebb817e023aa7f8e773.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@877 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/enquire.c')
-rw-r--r--gcc/enquire.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/enquire.c b/gcc/enquire.c
index 3c647ba6eb2..e59db661f24 100644
--- a/gcc/enquire.c
+++ b/gcc/enquire.c
@@ -18,6 +18,7 @@
Don't declare malloc, instead cast the value, Richard Stallman, Nov 91.
Include sys/types.h before signal.h, Apr 92.
Support NO_LONG_DOUBLE_IO in f_define and f_rep; new fn fake_f_rep, Apr 92.
+ Enclose -f output in #ifndef _FLOAT_H___, Richard Stallman, May 92.
COMPILING
With luck and a following wind, just the following will work:
@@ -682,6 +683,10 @@ int main(argc, argv) int argc; char *argv[]; {
if (L) printf("%slimits.h%s\n", co, oc);
if (F) printf("%sfloat.h%s\n", co, oc);
+ if (F) {
+ printf ("#ifndef _FLOAT_H___\n");
+ printf ("#define _FLOAT_H___\n");
+ }
#ifdef ID
printf("%sProduced on %s by enquire version %s, CWI, Amsterdam%s\n",
co, ID, VERSION, oc);
@@ -751,6 +756,9 @@ int main(argc, argv) int argc; char *argv[]; {
co, (total+511)/512, oc);
}
#endif
+ if (F) {
+ printf ("#endif %s _FLOAT_H___%s\n", co, oc);
+ }
farewell(bugs);
return bugs; /* To keep compilers and lint happy */
}