Cleaned up gettext support for Mac build.

This commit is contained in:
Chris Laurel 2009-07-15 01:02:36 +00:00
parent 4f94a41a57
commit e2f6953dd2

View file

@ -13,7 +13,6 @@
#define _CELUTIL_UTIL_H_
#include <string>
#include <vector>
#include <iostream>
#include <functional>
@ -36,11 +35,17 @@
#include "libintl.h"
#elif defined(TARGET_OS_MAC)
#ifndef gettext
#include "POSupport.h"
#define gettext(s) localizedUTF8String(s)
#define dgettext(d,s) localizedUTF8StringWithDomain(d,s)
#endif
#else
#ifndef TARGET_OS_MAC
#include <libintl.h>
#endif /* TARGET_OS_MAC */
#endif