summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
authorkahrl <kahrl@gmx.net>2016-08-21 02:40:23 +0200
committerest31 <est31@users.noreply.github.com>2016-08-21 02:40:23 +0200
commitcafa400fa5077e7cb9c627d79482941cb82a81cf (patch)
tree0da784f4389ecb42104b157fb423e11795d701be /src/log.h
parentf092dac9793b80c29a669b0d676ee3e4f55f682e (diff)
downloadminetest-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 'src/log.h')
0 files changed, 0 insertions, 0 deletions