1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-20 21:26:53 +00:00

fix the mac build when compiling in 32-bit mode, which doesn't support the "modern runtime" for creating ivars

This commit is contained in:
Mitchell Livingston 2012-01-21 14:58:39 +00:00
parent 63b5979594
commit fa439f6ad7
4 changed files with 11 additions and 0 deletions

View file

@ -31,6 +31,13 @@
NSMutableIndexSet * fIndexes;
NSMutableArray * fChildren;
NSString * fName;
NSString * fPath;
Torrent * fTorrent;
uint64_t fSize;
NSImage * fIcon;
BOOL fIsFolder;
}
@property (nonatomic, readonly) NSString * name;

View file

@ -32,6 +32,7 @@
@implementation FileListNode
#warning remove ivars in header when 64-bit only (or it compiles in 32-bit mode)
@synthesize name = fName;
@synthesize path = fPath;
@synthesize torrent = fTorrent;

View file

@ -30,6 +30,8 @@
@interface TrackerNode : NSObject
{
tr_tracker_stat fStat;
Torrent * fTorrent;
}
@property (nonatomic, readonly) Torrent * torrent;

View file

@ -27,6 +27,7 @@
@implementation TrackerNode
#warning remove ivars in header when 64-bit only (or it compiles in 32-bit mode)
@synthesize torrent = fTorrent;
- (id) initWithTrackerStat: (tr_tracker_stat *) stat torrent: (Torrent *) torrent