summaryrefslogtreecommitdiff
path: root/include/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/system.h')
-rw-r--r--include/system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/system.h b/include/system.h
index 1ae6ad07..ef84c60c 100644
--- a/include/system.h
+++ b/include/system.h
@@ -96,7 +96,11 @@ void *memset(void *, int, size_t);
# define collator strucmp
#endif
-#define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS))
+#if defined(CODESET) && !defined(_WINDOWS)
+#define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H)
+#else
+#define PREREQ_FOR_SYS_TRANSLATION (0)
+#endif
/* System uin32 definition */
#if HAVE_STDINT_H