diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-03 02:50:46 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-03-03 02:50:46 +0400 |
commit | 1c5f18f42b4de1dcd90dcb134105db9e11d14d5a (patch) | |
tree | 1f5c836c6620d005e378433df282268ff46164a5 /intern/locale/boost_locale_wrapper.h | |
parent | b74c686c66f5b18f454422e1af2fed726ad4570f (diff) |
OSX: Get the current locale in objC-style
Diffstat (limited to 'intern/locale/boost_locale_wrapper.h')
-rw-r--r-- | intern/locale/boost_locale_wrapper.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |