summaryrefslogtreecommitdiff
path: root/tool/patches/fp.diff
diff options
context:
space:
mode:
Diffstat (limited to 'tool/patches/fp.diff')
-rw-r--r--tool/patches/fp.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/tool/patches/fp.diff b/tool/patches/fp.diff
new file mode 100644
index 000000000..c5ddfebe5
--- /dev/null
+++ b/tool/patches/fp.diff
@@ -0,0 +1,11 @@
+--- /usr/include/CarbonCore/fp.h 2008-02-19 12:14:55.000000000 +0000
++++ /usr/include/CarbonCore/fp.h 2008-03-29 18:41:50.000000000 +0000
+@@ -1314,7 +1314,7 @@
+ * dec2l Similar to dec2num except a long is returned. *
+ * *
+ ********************************************************************************/
+-#if TARGET_CPU_PPC || TARGET_CPU_X86 || TARGET_CPU_PPC64 || TARGET_CPU_X86_64
++#if TARGET_CPU_PPC || TARGET_CPU_X86 || TARGET_CPU_PPC64 || TARGET_CPU_X86_64 || TARGET_CPU_ARM
+ #define SIGDIGLEN 36
+ #endif
+ #define DECSTROUTLEN 80 /* max length for dec2str output */