Changeset 334 for trunk/tool

Show
Ignore:
Timestamp:
06/28/08 18:32:20 (7 months ago)
Author:
saurik
Message:

Added cdefs hack for newer headers on 1.1.x.

Location:
trunk/tool
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/tool/include.diff

    r322 r334  
    6464                #elif __arm__ 
    6565                        #define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_5 
     66diff --git /usr/include/sys/cdefs.h /usr/include/sys/cdefs.h 
     67index 64e4e8b..0f43f4c 100644 
     68--- /usr/include/sys/cdefs.h 
     69+++ /usr/include/sys/cdefs.h 
     70@@ -253,7 +253,9 @@ 
     71  
     72 /* These settings are particular to each product. */ 
     73 /* Product: iPhone */ 
     74+#if __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__-0 >= 20000 
     75 #define __DARWIN_ONLY_64_BIT_INO_T     1 
     76+#endif 
     77 #define __DARWIN_ONLY_UNIX_CONFORMANCE 1 
     78 #define __DARWIN_ONLY_VERS_1050                1 
     79  
    6680--- /usr/include/CoreFoundation/CoreFoundation.h        2008-02-27 06:36:09.000000000 +0000 
    6781+++ /usr/include/CoreFoundation/CoreFoundation.h        2008-03-29 18:47:27.000000000 +0000