diff options
Diffstat (limited to 'recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch')
-rw-r--r-- | recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch b/recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch new file mode 100644 index 0000000000..028900fa1b --- /dev/null +++ b/recipes/mozilla/firefox-2.0.0.3/jsdtoa-float-type.patch @@ -0,0 +1,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 |