mirror of
https://github.com/transmission/transmission
synced 2024-12-25 17:17:31 +00:00
update project file to have -DSYS_DARWIN flag
This commit is contained in:
parent
4dd36a8331
commit
93ccd72f77
2 changed files with 5 additions and 3 deletions
|
@ -2089,6 +2089,10 @@
|
|||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
||||
GCC_PREFIX_HEADER = macosx/Transmission_Prefix.pch;
|
||||
INFOPLIST_FILE = macosx/Info.plist;
|
||||
OTHER_CFLAGS = (
|
||||
"$(inherited)",
|
||||
"-DSYS_DARWIN",
|
||||
);
|
||||
PRODUCT_NAME = Transmission;
|
||||
WRAPPER_EXTENSION = app;
|
||||
};
|
||||
|
@ -2152,6 +2156,7 @@
|
|||
GCC_WARN_UNUSED_PARAMETER = NO;
|
||||
GCC_WARN_UNUSED_VALUE = NO;
|
||||
GCC_WARN_UNUSED_VARIABLE = NO;
|
||||
IBC_FLATTEN_NIBS = YES;
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.4;
|
||||
OTHER_CFLAGS = "$(inherited)";
|
||||
PREBINDING = NO;
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
#import "ExpandedPathToPathTransformer.h"
|
||||
#import "ExpandedPathToIconTransformer.h"
|
||||
#import "SpeedLimitToTurtleIconTransformer.h"
|
||||
|
||||
#define SYS_DARWIN
|
||||
#include "utils.h" //tr_getRatio()
|
||||
|
||||
#import <Sparkle/Sparkle.h>
|
||||
|
@ -2516,7 +2514,6 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
downloaded += [torrent downloadedTotal];
|
||||
}
|
||||
|
||||
#warning fix
|
||||
return [NSString stringForRatio: tr_getRatio(uploaded, downloaded)];
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue