OSDN Git Service

* iostream.cc, libio.h: Convert other uses of #ifdef
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Oct 1997 17:14:05 +0000 (17:14 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 3 Oct 1997 17:14:05 +0000 (17:14 +0000)
_G_HAVE_PRINTF_FP to #if.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15836 138bc75d-0d04-0410-961f-82ee72b054a4

libio/ChangeLog
libio/iostream.cc
libio/libio.h

index 6ec865b..1c2003f 100644 (file)
@@ -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).
 
index 99ed592..f4b1e16 100644 (file)
@@ -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),
index 3d7bce3..98d98c3 100644 (file)
@@ -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