aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch
blob: 028900fa1b34e5cceda84b3efcb7f5af898803e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: mozilla/js/src/jsdtoa.c
===================================================================
--- mozilla.orig/js/src/jsdtoa.c
+++ mozilla/js/src/jsdtoa.c
@@ -175,7 +175,7 @@
  * #define NO_IEEE_Scale to disable new (Feb. 1997) logic in strtod that
  *  avoids underflows on inputs whose result does not underflow.
  */
-#ifdef IS_LITTLE_ENDIAN
+#if defined(IS_LITTLE_ENDIAN) && (!defined(__arm__) || defined(__VFP_FP__))
 #define IEEE_8087
 #else
 #define IEEE_MC68k