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