aboutsummaryrefslogtreecommitdiffstats
path: root/src/gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gettext.h')
-rw-r--r--src/gettext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gettext.h b/src/gettext.h
index 8b262f4..5adda46 100644
--- a/src/gettext.h
+++ b/src/gettext.h
@@ -22,8 +22,14 @@
/* NLS can be disabled through the configure --disable-nls option. */
#if ENABLE_NLS
+#if HAVE_W32_SYSTEM
+/* Redirect the gettext calls to an internal implementation on W32
+ targets. */
+# include "w32-gettext.h"
+#else
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
+#endif
#else