diff options
author | Richard Stallman <rms@gnu.org> | 1992-05-04 02:19:20 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-05-04 02:19:20 +0000 |
commit | 9692712143927eb6abf835171fd9830515fd49b6 (patch) | |
tree | eed7926c8d1bf107b113b56c8aef3d15a687ef80 /gcc/enquire.c | |
parent | ff1e982113fddef5be552aeead54fc53df0832b0 (diff) | |
download | gcc-9692712143927eb6abf835171fd9830515fd49b6.tar.gz |
*** empty log message ***
From-SVN: r877
Diffstat (limited to 'gcc/enquire.c')
-rw-r--r-- | gcc/enquire.c | 8 |
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 */ } |