summaryrefslogtreecommitdiffstats
path: root/osdep/getch2.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/getch2.c')
-rw-r--r--osdep/getch2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/getch2.c b/osdep/getch2.c
index 2d7fe8a14b..b697bd8bc7 100644
--- a/osdep/getch2.c
+++ b/osdep/getch2.c
@@ -28,7 +28,7 @@
#endif
#endif
-#if defined(HAVE_LANGINFO) && defined(HAVE_ICONV)
+#if defined(HAVE_LANGINFO) && defined(CONFIG_ICONV)
#include <locale.h>
#include <langinfo.h>
#endif
@@ -270,7 +270,7 @@ void getch2_disable(void){
getch2_status=0;
}
-#ifdef HAVE_ICONV
+#ifdef CONFIG_ICONV
char* get_term_charset(void)
{
char* charset = NULL;