From 1c5f18f42b4de1dcd90dcb134105db9e11d14d5a Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sat, 2 Mar 2013 22:50:46 +0000 Subject: OSX: Get the current locale in objC-style --- intern/locale/boost_locale_wrapper.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'intern/locale/boost_locale_wrapper.h') diff --git a/intern/locale/boost_locale_wrapper.h b/intern/locale/boost_locale_wrapper.h index 4e3a1f848d2..22f3793ae67 100644 --- a/intern/locale/boost_locale_wrapper.h +++ b/intern/locale/boost_locale_wrapper.h @@ -42,7 +42,11 @@ void bl_locale_init(const char *messages_path, const char *default_domain); void bl_locale_set(const char *locale); const char *bl_locale_get(void); const char *bl_locale_pgettext(const char *msgctxt, const char *msgid); - + +#ifdef __APPLE__ +extern const char *user_locale; // pulled from Ghost_SystemCocoa +#endif + #ifdef __cplusplus } #endif -- cgit v1.2.3