about summary refs log tree commit diff stats
path: root/src/LYCharSets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYCharSets.h')
-rw-r--r--src/LYCharSets.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/LYCharSets.h b/src/LYCharSets.h
index 5dedc558..2f7591c2 100644
--- a/src/LYCharSets.h
+++ b/src/LYCharSets.h
@@ -93,4 +93,14 @@ extern int displayed_display_charset_idx;
 extern void init_charset_subsets NOPARAMS;
 #endif /* EXP_CHARSET_CHOICE */
 
+#if !defined(NO_AUTODETECT_DISPLAY_CHARSET)
+#  ifdef __EMX__
+#    define CAN_AUTODETECT_DISPLAY_CHARSET
+#  endif
+#endif
+
+#ifdef CAN_AUTODETECT_DISPLAY_CHARSET
+extern int auto_display_charset;
+#endif
+
 #endif /* LYCHARSETS_H */