From d8e23bb0847d766d7f3fdf8bdd11f7d70829fad8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Jul 2015 14:33:34 +0200 Subject: remove UTF-8 code when compiling with --disable-unicode --- CRT.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'CRT.h') diff --git a/CRT.h b/CRT.h index 3e8babe7..074cff36 100644 --- a/CRT.h +++ b/CRT.h @@ -114,14 +114,18 @@ void CRT_handleSIGSEGV(int sgn); extern const char *CRT_treeStrAscii[TREE_STR_COUNT]; +#ifdef HAVE_LIBNCURSESW + extern const char *CRT_treeStrUtf8[TREE_STR_COUNT]; +extern bool CRT_utf8; + +#endif + extern const char **CRT_treeStr; extern int CRT_delay; -extern bool CRT_utf8; - int* CRT_colors; extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT]; -- cgit v1.2.3