diff options
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/getch2-os2.c | 4 | ||||
-rw-r--r-- | osdep/getch2-win.c | 2 | ||||
-rw-r--r-- | osdep/getch2.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/osdep/getch2-os2.c b/osdep/getch2-os2.c index 3b94b4d736..0b6e84683e 100644 --- a/osdep/getch2-os2.c +++ b/osdep/getch2-os2.c @@ -33,7 +33,7 @@ #include "mp_fifo.h" #include "getch2.h" -#if defined(HAVE_LANGINFO) && defined(HAVE_ICONV) +#if defined(HAVE_LANGINFO) && defined(CONFIG_ICONV) #include <locale.h> #include <langinfo.h> #endif @@ -183,7 +183,7 @@ void getch2_disable( void ) getch2_status = 0; } -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV char *get_term_charset( void ) { char *charset = NULL; diff --git a/osdep/getch2-win.c b/osdep/getch2-win.c index feaf5f74d9..49ec9c46b3 100644 --- a/osdep/getch2-win.c +++ b/osdep/getch2-win.c @@ -144,7 +144,7 @@ void getch2_disable(){ getch2_status=0; } -#ifdef HAVE_ICONV +#ifdef CONFIG_ICONV static const struct { unsigned cp; char* alias; 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; |