diff options
author | kahrl <kahrl@gmx.net> | 2016-08-21 02:40:23 +0200 |
---|---|---|
committer | est31 <est31@users.noreply.github.com> | 2016-08-21 02:40:23 +0200 |
commit | cafa400fa5077e7cb9c627d79482941cb82a81cf (patch) | |
tree | 0da784f4389ecb42104b157fb423e11795d701be /client/shaders/wielded_shader | |
parent | f092dac9793b80c29a669b0d676ee3e4f55f682e (diff) | |
download | minetest-cafa400fa5077e7cb9c627d79482941cb82a81cf.tar.gz minetest-cafa400fa5077e7cb9c627d79482941cb82a81cf.tar.bz2 minetest-cafa400fa5077e7cb9c627d79482941cb82a81cf.zip |
gettext.h: include <locale> before defining the gettext macro (#4452)
Fixes #4446: a syntax error that happens if something else (such as
<iomanip> or <locale> in certain libstdc++ versions) includes
<libintl.h> later, which contains a function declaration for gettext
that gets mangled by the macro.
See the added comment in gettext.h and the discussion in #4446/#4452
for details.
Diffstat (limited to 'client/shaders/wielded_shader')
0 files changed, 0 insertions, 0 deletions