mirror of
https://github.com/transmission/transmission.git
synced 2026-04-20 00:40:03 +01:00
get mac build compiling again
This commit is contained in:
@@ -33,9 +33,9 @@
|
||||
void tr_msgInit( void );
|
||||
|
||||
#if defined(SYS_DARWIN)
|
||||
#include <CFBundle.h>
|
||||
#define _(a) CFCopyLocalizedStringFromTable( \
|
||||
CFSTR( a ), "LibraryLocalizable", "comment" )
|
||||
#include <CoreFoundation/CFBundle.h>
|
||||
#define _(a) CFStringGetCStringPtr(CFCopyLocalizedStringFromTable( \
|
||||
CFSTR( a ), CFSTR("LibraryLocalizable"), "comment" ), kCFStringEncodingMacRoman)
|
||||
#else
|
||||
#include <libintl.h>
|
||||
#define _(a) gettext (a)
|
||||
|
||||
Reference in New Issue
Block a user