From c44e099f650012fd6eb1243b27727e46679d5e2e Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 3 Oct 1997 13:14:05 -0400 Subject: 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 --- libio/ChangeLog | 7 ++++++- libio/iostream.cc | 2 +- libio/libio.h | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'libio') 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 + + * iostream.cc, libio.h: Convert other uses of #ifdef + _G_HAVE_PRINTF_FP to #if. + 1997-10-02 Brendan Kehoe * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef. @@ -20,7 +25,7 @@ Sun Sep 28 12:04:21 1997 Jason Merrill * 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 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 -- cgit v1.1