Commit 808d0b10 by Brendan Kehoe Committed by Brendan Kehoe

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
parent 5a3a2567
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> Thu Oct 2 10:36:49 1997 Jason Merrill <jason@yorick.cygnus.com>
* gen-params: Fix __printf_fp test. * gen-params: Fix __printf_fp test.
......
...@@ -615,7 +615,7 @@ ostream& ostream::operator<<(double n) ...@@ -615,7 +615,7 @@ ostream& ostream::operator<<(double n)
prec = 6; /* default */ prec = 6; /* default */
// Do actual conversion. // Do actual conversion.
#ifdef _G_HAVE_PRINTF_FP #if _G_HAVE_PRINTF_FP
{ {
struct printf_info info = { prec: prec, struct printf_info info = { prec: prec,
width: width(0), width: width(0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment