summaryrefslogtreecommitdiff
path: root/tool/patches/cdefs.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-06-28 18:32:20 +0000
committerJay Freeman <saurik@saurik.com>2008-06-28 18:32:20 +0000
commit7b493b4c1beda8311ab3e9454ad77d10bdeb1363 (patch)
tree82669d85f23b5e50c4b0e459983c7719b547153c /tool/patches/cdefs.diff
parent1625be4b1c8931bccd4775d208ef6a877d7cb92d (diff)
Added cdefs hack for newer headers on 1.1.x.
git-svn-id: http://svn.telesphoreo.org/trunk@334 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/patches/cdefs.diff')
-rw-r--r--tool/patches/cdefs.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/tool/patches/cdefs.diff b/tool/patches/cdefs.diff
new file mode 100644
index 000000000..69828dfb6
--- /dev/null
+++ b/tool/patches/cdefs.diff
@@ -0,0 +1,14 @@
+diff --git /usr/include/sys/cdefs.h /usr/include/sys/cdefs.h
+index 64e4e8b..0f43f4c 100644
+--- /usr/include/sys/cdefs.h
++++ /usr/include/sys/cdefs.h
+@@ -253,7 +253,9 @@
+
+ /* These settings are particular to each product. */
+ /* Product: iPhone */
++#if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__-0 >= 20000
+ #define __DARWIN_ONLY_64_BIT_INO_T 1
++#endif
+ #define __DARWIN_ONLY_UNIX_CONFORMANCE 1
+ #define __DARWIN_ONLY_VERS_1050 1
+