diff options
author | Jay Freeman <saurik@saurik.com> | 2008-03-28 15:59:24 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-03-28 15:59:24 +0000 |
commit | 083104aa46e49a5f331bb90506f58b5bb7dd828c (patch) | |
tree | 3d3f14d7a22a960dfb426aba07b2ac4b0d4382c8 /tool/patches/availability.diff | |
parent | afaa282e79a2d887ce66b405eeaeb465f90063ba (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/availability.diff')
-rw-r--r-- | tool/patches/availability.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tool/patches/availability.diff b/tool/patches/availability.diff new file mode 100644 index 000000000..0cbf0f8f3 --- /dev/null +++ b/tool/patches/availability.diff @@ -0,0 +1,17 @@ +--- /home/saurik/iphone/aspen-dev/SDKs/Aspen1.2.sdk/usr/include/AvailabilityMacros.h 2008-02-27 06:49:24.000000000 +0000 ++++ /apl/inc/AvailabilityMacros.h 2008-03-28 14:10:13.000000000 +0000 +@@ -84,7 +84,13 @@ + #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ + #define MAC_OS_X_VERSION_MIN_REQUIRED __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ + #else +- #if __ppc64__ || __i386__ || __x86_64__ ++ #ifdef __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ ++ #if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 ++ #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4 ++ #else ++ #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 ++ #endif ++ #elif __ppc64__ || __i386__ || __x86_64__ + #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4 + #elif __arm__ + #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 |