aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-02 22:52:19 +0000
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>1997-10-02 22:52:19 +0000
commit331da090ac8267991c6a93ec2435bc247d04f475 (patch)
treebe266ef04e10f58b443b3ff1bb59d7f50b2ad52f
parentae2344e55cb7154a1706d4e90c1b6dbf0c3d4122 (diff)
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
... since it comes in defined, either 0 or 1 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15834 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libio/ChangeLog4
-rw-r--r--libio/iostream.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog
index 803adfcfcd0..6ec865b0e47 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 383d4656091..99ed592c539 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),