get mac build compiling again

This commit is contained in:
Mitchell Livingston
2008-03-04 02:23:01 +00:00
parent eb18810b3e
commit 052d849b59
2 changed files with 6 additions and 5 deletions

View File

@@ -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)