summaryrefslogtreecommitdiff
path: root/tool/patches/fixmath.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-03-28 15:59:24 +0000
committerJay Freeman <saurik@saurik.com>2008-03-28 15:59:24 +0000
commit083104aa46e49a5f331bb90506f58b5bb7dd828c (patch)
tree3d3f14d7a22a960dfb426aba07b2ac4b0d4382c8 /tool/patches/fixmath.diff
parentafaa282e79a2d887ce66b405eeaeb465f90063ba (diff)
Adding my various header hacks.
git-svn-id: http://svn.telesphoreo.org/trunk@194 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..a7649d890
--- /dev/null
+++ b/tool/patches/fixmath.diff
@@ -0,0 +1,11 @@
+--- /home/dat/bin/MacOSX10.5.sdk/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/FixMath.h 2008-02-19 12:14:55.000000000 +0000
++++ /apl/inc/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))