diff options
Diffstat (limited to 'osdep/getch2.c')
-rw-r--r-- | osdep/getch2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/getch2.c b/osdep/getch2.c index c9cb4f6319..51ef8c77f0 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 @@ -271,7 +271,7 @@ void getch2_disable(void){ getch2_status=0; } -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV char* get_term_charset(void) { char* charset = NULL; |