diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1997-10-03 13:14:05 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1997-10-03 13:14:05 -0400 |
commit | c44e099f650012fd6eb1243b27727e46679d5e2e (patch) | |
tree | d38107edb13b7a268b03db6f9529531ce632d5f5 | |
parent | e414ab293593810c63bc82cc81de90659cd035ae (diff) | |
download | gcc-c44e099f650012fd6eb1243b27727e46679d5e2e.tar.gz |
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
-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 6ec865b0e47..1c2003fce20 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 99ed592c539..f4b1e167dde 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 3d7bce3c181..98d98c3249b 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 |