From 808d0b1063b87cb5a2c54cea28d34679f40b5eb9 Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Thu, 2 Oct 1997 22:52:19 +0000 Subject: [PATCH] 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 --- libio/ChangeLog | 4 ++++ libio/iostream.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef. + Thu Oct 2 10:36:49 1997 Jason Merrill * 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),