remove HAVE_{ISWUPPER,ISWLOWER,TOWUPPER,TOWLOWER}

This commit is contained in:
Julian Orth
2014-03-15 01:48:51 +01:00
committed by Thiago de Arruda
parent 079c47ed7b
commit 55d95c1cd0
4 changed files with 12 additions and 41 deletions

View File

@@ -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);