Ticket #35562: conditionally-name-variable.diff
File conditionally-name-variable.diff, 584 bytes (added by gjasny@…, 12 years ago) |
---|
-
CDLCVersionMinimum.m
old new 7 7 8 8 #import "CDMachOFile.h" 9 9 10 #include <Availability.h> 11 10 12 @implementation CDLCVersionMinimum 11 13 12 14 - (id)initWithDataCursor:(CDMachOFileDataCursor *)cursor; … … 15 17 versionMinCommand.cmd = [cursor readInt32]; 16 18 versionMinCommand.cmdsize = [cursor readInt32]; 17 19 versionMinCommand.version = [cursor readInt32]; 20 #ifdef __MAC_10_8 21 versionMinCommand.sdk = [cursor readInt32]; 22 #else 18 23 versionMinCommand.reserved = [cursor readInt32]; 24 #endif 19 25 } 20 26 21 27 return self;