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:
parent
63b5979594
commit
fa439f6ad7
4 changed files with 11 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue