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
This commit is contained in:
parent
5a3a2567e9
commit
808d0b1063
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Add table
Reference in a new issue