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

Revert "Use _nl_msg_cat_cntr only with the glibc"

It breaks MSYS2 builds.

This reverts commit 908383e29a86b9038fe4354def9da2dfc54e9395.
This commit is contained in:
Mathieu Schroeter 2019-02-05 18:47:41 +01:00
parent 3cd52b699d
commit 1e1fc1f7f4

View File

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