aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/strtod.c')
-rw-r--r--newlib/libc/stdlib/strtod.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/strtod.c b/newlib/libc/stdlib/strtod.c
index d70d2c2..3164e30 100644
--- a/newlib/libc/stdlib/strtod.c
+++ b/newlib/libc/stdlib/strtod.c
@@ -137,7 +137,6 @@ THIS SOFTWARE.
#include <string.h>
#include "mprec.h"
#include "gdtoa.h"
-#include "gd_qnan.h"
#include "../locale/setlocale.h"
/* #ifndef NO_FENV_H */
@@ -172,6 +171,14 @@ static const double tinytens[] = { 1e-16, 1e-32,
#define Rounding Flt_Rounds
#endif
+#ifdef IEEE_MC68k
+#define _0 0
+#define _1 1
+#else
+#define _0 1
+#define _1 0
+#endif
+
#ifdef Avoid_Underflow /*{*/
static double
sulp (U x,