mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
remove HAVE_{ISWUPPER,ISWLOWER,TOWUPPER,TOWLOWER}
This commit is contained in:

committed by
Thiago de Arruda

parent
079c47ed7b
commit
55d95c1cd0
@@ -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);
|
||||
|
Reference in New Issue
Block a user