summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-05 11:45:15 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2014-01-05 11:45:15 +0000
commit5e9b49fbb77dbd1bf69bbb52471efca49a4b8343 (patch)
treee4537e68966573ede3c9e3a55f7e6f98975ddcf7 /sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p
parentd2711f8061b6afc53d4ef6aa208ce40acbed7e48 (diff)
downloadtoolchains-5e9b49fbb77dbd1bf69bbb52471efca49a4b8343.tar.gz
toolchains-5e9b49fbb77dbd1bf69bbb52471efca49a4b8343.tar.bz2
Add initial patches taken from my old Spidermonkey 1.7 port
Diffstat (limited to 'sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p')
-rw-r--r--sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p16
1 files changed, 16 insertions, 0 deletions
diff --git a/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p b/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p
new file mode 100644
index 0000000..af6296d
--- /dev/null
+++ b/sdk/recipes/patches/spidermonkey/ppc-amigaos-1.7.0/jslibmath.h.p
@@ -0,0 +1,16 @@
+--- js/src/jslibmath.h 2006-07-13 07:01:04
++++ js-amiga/src/jslibmath.h 2012-07-06 23:06:50
+@@ -58,6 +58,12 @@
+ * - fdlibm broken on OSF1/alpha
+ */
+
++
++#if defined(XP_AMIGA)
++#define JS_USE_FDLIBM_MATH 1
++#endif
++
++
+ #ifndef JS_USE_FDLIBM_MATH
+ #define JS_USE_FDLIBM_MATH 0
+ #endif
+