]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
authorBrendan Kehoe <brendan@lisa.cygnus.com>
Thu, 2 Oct 1997 22:52:19 +0000 (22:52 +0000)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Thu, 2 Oct 1997 22:52:19 +0000 (18:52 -0400)
* iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.

... since it comes in defined, either 0 or 1

From-SVN: r15834

libio/ChangeLog
libio/iostream.cc

index 803adfcfcd0d118269bebfd949c07793479fee8b..6ec865b0e47e6b45ba5e682571de68139b075e57 100644 (file)
@@ -1,3 +1,7 @@
+1997-10-02  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * iostream.cc (operator<<): Use `#if _G_HAVE_PRINTF_FP', not ifdef.
+
 Thu Oct  2 10:36:49 1997  Jason Merrill  <jason@yorick.cygnus.com>
 
        * gen-params: Fix __printf_fp test.
index 383d46560910bda3e0afd018ac87f630eb5031db..99ed592c539ba6659e84accac4b56df1a88540b0 100644 (file)
@@ -615,7 +615,7 @@ ostream& ostream::operator<<(double n)
          prec = 6; /* default */
 
        // Do actual conversion.
-#ifdef _G_HAVE_PRINTF_FP
+#if _G_HAVE_PRINTF_FP
        {
          struct printf_info info = { prec: prec,
                                      width: width(0),