aboutsummaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 8ac60ede11..112dad1bc3 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -2736,7 +2736,7 @@ int utf_toupper(int a)
if (a < 128 && (cmp_flags & CMP_KEEPASCII))
return TOUPPER_ASC(a);
-#if defined(HAVE_TOWUPPER) && defined(__STDC_ISO_10646__)
+#if defined(__STDC_ISO_10646__)
/* If towupper() is available and handles Unicode, use it. */
if (!(cmp_flags & CMP_INTERNAL))
return towupper(a);
@@ -2766,7 +2766,7 @@ int utf_tolower(int a)
if (a < 128 && (cmp_flags & CMP_KEEPASCII))
return TOLOWER_ASC(a);
-#if defined(HAVE_TOWLOWER) && defined(__STDC_ISO_10646__)
+#if defined(__STDC_ISO_10646__)
/* If towlower() is available and handles Unicode, use it. */
if (!(cmp_flags & CMP_INTERNAL))
return towlower(a);