summaryrefslogtreecommitdiff
path: root/tool/patches/FixMath.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-04-08 21:02:40 +0000
committerJay Freeman <saurik@saurik.com>2008-04-08 21:02:40 +0000
commit92e69908cb3a45cbf574cbba78431cb9f481b769 (patch)
treefaffa83aae7f9e272cbcceb74d1104103265519b /tool/patches/FixMath.diff
parente1df0c047b9193e8275f9aee5acb5a356249a0fb (diff)
Updated patches to match documentation.
git-svn-id: http://svn.telesphoreo.org/trunk@202 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/patches/FixMath.diff')
-rw-r--r--tool/patches/FixMath.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/tool/patches/FixMath.diff b/tool/patches/FixMath.diff
new file mode 100644
index 000000000..f50f76882
--- /dev/null
+++ b/tool/patches/FixMath.diff
@@ -0,0 +1,11 @@
+--- /usr/include/CarbonCore/FixMath.h 2008-02-19 12:14:55.000000000 +0000
++++ /usr/include/CarbonCore/FixMath.h 2008-03-27 09:50:49.000000000 +0000
+@@ -90,7 +90,7 @@
+
+ #else
+
+- #error "Unknown architecture."
++ //#error "Unknown architecture."
+ // To use unoptimized standard C code, remove above line.
+ #define _IntSaturate(x) ((x) <= -0x1p31f ? (int) -0x80000000 : \
+ 0x1p31f <= (x) ? (int) 0x7fffffff : (int) (x))