about summary refs log tree commit diff
path: root/Src/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'Src/system.h')
-rw-r--r--Src/system.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Src/system.h b/Src/system.h
index dbc387947..67f919bc8 100644
--- a/Src/system.h
+++ b/Src/system.h
@@ -632,3 +632,9 @@ extern short ospeed;
 #undef ESRCH
 #define ESRCH EINVAL
 #endif /* BROKEN_KILL_ESRCH */
+
+/* Can we do locale stuff? */
+#undef USE_LOCALE
+#if defined(CONFIG_LOCALE) && defined(HAVE_SETLOCALE) && defined(LC_ALL)
+# define USE_LOCALE 1
+#endif /* CONFIG_LOCALE && HAVE_SETLOCALE && LC_ALL */