iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if.
* iostream.cc, libio.h: Convert other uses of #ifdef _G_HAVE_PRINTF_FP to #if. From-SVN: r15836
This commit is contained in:
parent
e414ab2935
commit
c44e099f65
3 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 3 10:13:13 1997 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* iostream.cc, libio.h: Convert other uses of #ifdef
|
||||
_G_HAVE_PRINTF_FP to #if.
|
||||
|
||||
1997-10-02 Brendan Kehoe <brendan@lisa.cygnus.com>
|
||||
|
||||
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
|
||||
|
@ -20,7 +25,7 @@ Sun Sep 28 12:04:21 1997 Jason Merrill <jason@yorick.cygnus.com>
|
|||
|
||||
* libio.h: Don't use _IO_LOCK_T if it's not defined.
|
||||
|
||||
Fri Sep 26 20:56:41 1997
|
||||
Fri Sep 26 20:56:41 1997 Ulrich Drepper <drepper@rtl.cygnus.com>
|
||||
|
||||
Based on a patch by H.J. Lu (hjl@gnu.ai.mit.edu).
|
||||
|
||||
|
|
|
@ -718,7 +718,7 @@ ostream& ostream::operator<<(long double n)
|
|||
if (prec <= 0 && !(flags() & ios::fixed))
|
||||
prec = 6; /* default */
|
||||
|
||||
#ifdef _G_HAVE_PRINTF_FP
|
||||
#if _G_HAVE_PRINTF_FP
|
||||
// Do actual conversion.
|
||||
struct printf_info info = { prec: prec,
|
||||
width: width(0),
|
||||
|
|
|
@ -71,7 +71,7 @@
|
|||
# define const
|
||||
#endif
|
||||
#define _IO_UNIFIED_JUMPTABLES 1
|
||||
#ifndef _G_HAVE_PRINTF_FP
|
||||
#if !_G_HAVE_PRINTF_FP
|
||||
# define _IO_USE_DTOA 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue