mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
@interface TrackerNode : NSObject
|
||||
{
|
||||
tr_tracker_stat fStat;
|
||||
|
||||
Torrent * fTorrent;
|
||||
}
|
||||
|
||||
@property (nonatomic, readonly) Torrent * torrent;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user