Changeset 5195


Ignore:
Timestamp:
Mar 4, 2008, 2:23:01 AM (14 years ago)
Author:
livings124
Message:

get mac build compiling again

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r5193 r5195  
    3434
    3535#if defined(SYS_DARWIN)
    36   #include <CFBundle.h>
    37   #define _(a) CFCopyLocalizedStringFromTable( \
    38                CFSTR( a ), "LibraryLocalizable", "comment" )
     36  #include <CoreFoundation/CFBundle.h>
     37  #define _(a) CFStringGetCStringPtr(CFCopyLocalizedStringFromTable( \
     38               CFSTR( a ), CFSTR("LibraryLocalizable"), "comment" ), kCFStringEncodingMacRoman)
    3939#else
    4040  #include <libintl.h>
  • trunk/macosx/Controller.m

    r5163 r5195  
    4343#import "ExpandedPathToIconTransformer.h"
    4444#import "SpeedLimitToTurtleIconTransformer.h"
    45 #include "utils.h" //tr_getRatio()
     45//#include "utils.h" //tr_getRatio()
    4646
    4747#import <Sparkle/Sparkle.h>
     
    25152515                }
    25162516               
    2517                 return [NSString stringForRatio: tr_getRatio(uploaded, downloaded)];
     2517                #warning fix
     2518                return [NSString stringForRatio: /*tr_getRatio(uploaded, downloaded)*/0];
    25182519            }
    25192520            else
Note: See TracChangeset for help on using the changeset viewer.