Ticket #31158: patch-dyld-info-compat.h.diff
File patch-dyld-info-compat.h.diff, 1.3 KB (added by 0xced (Cédric Luthi), 13 years ago) |
---|
-
dyld-info-compat.h
2 2 3 3 // This is taken from loader.h on 10.7, so that I can still compile for 10.6. 4 4 5 #define LC_LOAD_UPWARD_DYLIB (0x23 | LC_REQ_DYLD) /* load upward dylib */ 6 #define LC_VERSION_MIN_MACOSX 0x24 /* build for MacOSX min OS version */ 7 #define LC_VERSION_MIN_IPHONEOS 0x25 /* build for iPhoneOS min OS version */ 8 #define LC_FUNCTION_STARTS 0x26 /* compressed table of function start addresses */ 9 #define LC_DYLD_ENVIRONMENT 0x27 /* string for dyld to treat like environment variable */ 10 5 #ifndef LC_VERSION_MIN_MACOSX 11 6 /* 12 7 * The version_min_command contains the min OS version on which this 13 8 * binary was built to run. … … 18 13 uint32_t version; /* X.Y.Z is encoded in nibbles xxxx.yy.zz */ 19 14 uint32_t reserved; /* zero */ 20 15 }; 16 #endif 17 18 #define LC_LOAD_UPWARD_DYLIB (0x23 | LC_REQ_DYLD) /* load upward dylib */ 19 #define LC_VERSION_MIN_MACOSX 0x24 /* build for MacOSX min OS version */ 20 #define LC_VERSION_MIN_IPHONEOS 0x25 /* build for iPhoneOS min OS version */ 21 #define LC_FUNCTION_STARTS 0x26 /* compressed table of function start addresses */ 22 #define LC_DYLD_ENVIRONMENT 0x27 /* string for dyld to treat like environment variable */ 21 23 22 24 #endif