From 2b4c38730bdadc6587967470347fd61a7bdd4c6d Mon Sep 17 00:00:00 2001 From: Andreas Scherer Date: Mon, 21 Jan 2019 06:54:02 +0000 Subject: Don't set locale without t10n. MinGW32 in particular and MS Windows in general do not have the LC_MESSAGES facet for i18n. We could squash the facets to LC_ALL, but that is just too much for our purposes. Windows maintainers will have to come up with a more specific solution if they want to activate the gettext stuff. git-svn-id: svn://tug.org/texlive/trunk@49779 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/cwebboot.cin | 4 ++-- Build/source/texk/web2c/cwebdir/comm-w2c.ch | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Build/source/texk/web2c/cwebboot.cin b/Build/source/texk/web2c/cwebboot.cin index 66cba9d30c4..3d6cd7be7ea 100644 --- a/Build/source/texk/web2c/cwebboot.cin +++ b/Build/source/texk/web2c/cwebboot.cin @@ -33,15 +33,15 @@ /*:85*//*88:*/ #line 1211 "cwebdir/comm-w2c.ch" -#include - #ifndef HAVE_GETTEXT #define HAVE_GETTEXT 0 #endif #if HAVE_GETTEXT +#include #include #else +#define setlocale(A,B) "" #define bindtextdomain(A,B) "" #define textdomain(A) "" #define gettext(A) A diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch index 0d770b57422..9a0c8dd12f1 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch @@ -1209,15 +1209,15 @@ things for neutral behavior without internationalization. @d _(STRING) gettext(STRING) @= -#include -@# #ifndef HAVE_GETTEXT #define HAVE_GETTEXT 0 #endif @# #if HAVE_GETTEXT +#include #include #else +#define setlocale(A,B) "" #define bindtextdomain(A,B) "" #define textdomain(A) "" #define gettext(A) A -- cgit v1.2.3