aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-gettext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32-gettext.h')
-rw-r--r--src/w32-gettext.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/w32-gettext.h b/src/w32-gettext.h
index ee11f2a..ce69ffe 100644
--- a/src/w32-gettext.h
+++ b/src/w32-gettext.h
@@ -20,7 +20,11 @@
#if ENABLE_NLS
-#include <locale.h>
+#ifdef HAVE_W32CE_SYSTEM
+# define LC_ALL 0
+#else
+# include <locale.h>
+#endif
#if !defined LC_MESSAGES && !(defined __LOCALE_H || (defined _LOCALE_H && defined __sun))
# define LC_MESSAGES 1729
#endif