diff options
author | Jay Freeman <saurik@saurik.com> | 2008-06-28 18:32:20 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-06-28 18:32:20 +0000 |
commit | 7b493b4c1beda8311ab3e9454ad77d10bdeb1363 (patch) | |
tree | 82669d85f23b5e50c4b0e459983c7719b547153c /tool/patches | |
parent | 1625be4b1c8931bccd4775d208ef6a877d7cb92d (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')
-rw-r--r-- | tool/patches/cdefs.diff | 14 |
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 + |