]> sourceware.org Git - newlib-cygwin.git/commitdiff
libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.
authorSteve Ellcey <Steve.Ellcey@imgtec.com>
Tue, 24 Nov 2015 21:59:31 +0000 (13:59 -0800)
committerSteve Ellcey <Steve.Ellcey@imgtec.com>
Tue, 24 Nov 2015 21:59:31 +0000 (13:59 -0800)
newlib/ChangeLog
newlib/libc/stdlib/strtorx.c

index ed71afd4a9f7cb734b294355653d7f87c89d888f..0cae5cf507eaec3924494b7c2281f1e83c8ef260 100644 (file)
@@ -1,3 +1,7 @@
+2015-11-24  Steve Ellcey  <sellcey@imgtec.com>
+
+       * libc/stdlib/strtorx.c: Fix ifdef to check _LDBL_EQ_DBL.
+
 2015-11-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
        * libc/machine/arm/strlen-stub.c: Adjust strlen-armv7.S selection logic.
index 85d872241d2d5d063f0ea5fd5f8f3f97b536b62e..44f3db269a25cc5b38ec2b703fef691c7918622d 100644 (file)
@@ -37,7 +37,7 @@ THIS SOFTWARE.
 #include "gdtoa.h"
 #include "gd_qnan.h"
 
-#ifdef _HAVE_LONG_DOUBLE
+#if defined (_HAVE_LONG_DOUBLE) && !defined (_LDBL_EQ_DBL)
 
 #undef _0
 #undef _1
@@ -126,4 +126,4 @@ _strtorx_r(struct _reent *p, const char *s, char **sp, int rounding, void *L)
        return k;
        }
 
-#endif /* _HAVE_LONG_DOUBLE */
+#endif /* _HAVE_LONG_DOUBLE && !_LDBL_EQ_DBL */
This page took 0.050232 seconds and 5 git commands to generate.