diff options
-rw-r--r-- | libio/ChangeLog | 7 | ||||
-rw-r--r-- | libio/iostream.cc | 2 | ||||
-rw-r--r-- | libio/libio.h | 2 |
3 files changed, 8 insertions, 3 deletions
diff --git a/libio/ChangeLog b/libio/ChangeLog index 6ec865b..1c2003f 100644 --- a/libio/ChangeLog +++ b/libio/ChangeLog @@ -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). diff --git a/libio/iostream.cc b/libio/iostream.cc index 99ed592..f4b1e16 100644 --- a/libio/iostream.cc +++ b/libio/iostream.cc @@ -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), diff --git a/libio/libio.h b/libio/libio.h index 3d7bce3..98d98c3 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -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 |