1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Use _nl_msg_cat_cntr only with the glibc

This commit is contained in:
Mathieu Schroeter 2019-01-30 00:04:17 +01:00
parent 4580822c38
commit 908383e29a

View File

@ -4164,10 +4164,10 @@ CEvent::SetLanguage (Language lang)
{
putenv (env);
#ifndef EMSCRIPTEN
#ifdef __GLIBC__
extern int _nl_msg_cat_cntr;
++_nl_msg_cat_cntr;
#endif /* EMSCRIPTEN */
#endif /* __GLIBC__ */
}
SDL_SetWindowTitle (g_window, gettext ("Planet Blupi"));