summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/web2c/cwebboot.cin4
-rw-r--r--Build/source/texk/web2c/cwebdir/comm-w2c.ch4
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 <locale.h>
-
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
#endif
#if HAVE_GETTEXT
+#include <locale.h>
#include <libintl.h>
#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 files@>=
-#include <locale.h>
-@#
#ifndef HAVE_GETTEXT
#define HAVE_GETTEXT 0
#endif
@#
#if HAVE_GETTEXT
+#include <locale.h>
#include <libintl.h>
#else
+#define setlocale(A,B) ""
#define bindtextdomain(A,B) ""
#define textdomain(A) ""
#define gettext(A) A