diff options
author | Brendan Kehoe <brendan@lisa.cygnus.com> | 1997-10-02 22:52:19 +0000 |
---|---|---|
committer | Brendan Kehoe <brendan@gcc.gnu.org> | 1997-10-02 18:52:19 -0400 |
commit | 808d0b1063b87cb5a2c54cea28d34679f40b5eb9 (patch) | |
tree | be266ef04e10f58b443b3ff1bb59d7f50b2ad52f /libio | |
parent | 5a3a2567e941489d91cccc8b728b1416b8ffd12b (diff) | |
download | gcc-808d0b1063b87cb5a2c54cea28d34679f40b5eb9.zip gcc-808d0b1063b87cb5a2c54cea28d34679f40b5eb9.tar.gz gcc-808d0b1063b87cb5a2c54cea28d34679f40b5eb9.tar.bz2 |
iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
... since it comes in defined, either 0 or 1
From-SVN: r15834
Diffstat (limited to 'libio')
-rw-r--r-- | libio/ChangeLog | 4 | ||||
-rw-r--r-- | libio/iostream.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index 803adfc..6ec865b 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -1,3 +1,7 @@ +1997-10-02 Brendan Kehoe <brendan@lisa.cygnus.com> + + * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef. + Thu Oct 2 10:36:49 1997 Jason Merrill <jason@yorick.cygnus.com> * gen-params: Fix __printf_fp test. diff --git a/libio/iostream.cc b/libio/iostream.cc index 383d465..99ed592 100644 --- a/libio/iostream.cc +++ b/libio/iostream.cc @@ -615,7 +615,7 @@ ostream& ostream::operator<<(double n) prec = 6; /* default */ // Do actual conversion. -#ifdef _G_HAVE_PRINTF_FP +#if _G_HAVE_PRINTF_FP { struct printf_info info = { prec: prec, width: width(0), |