diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-11-17 21:20:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 21:20:11 +0100 |
commit | 7b158e766b4f00c45c08acc40ca4a30db86cec37 (patch) | |
tree | bac2c6be98a57b6786cf9453c49f12762797027a /src | |
parent | 1f6d36c2c4f4d95ea1f1370e01dd9929da901542 (diff) | |
parent | 51a48d482ea533415b4caa88e03adcd82f654f3a (diff) | |
download | rneovim-7b158e766b4f00c45c08acc40ca4a30db86cec37.tar.gz rneovim-7b158e766b4f00c45c08acc40ca4a30db86cec37.tar.bz2 rneovim-7b158e766b4f00c45c08acc40ca4a30db86cec37.zip |
Merge pull request #21078 from dundargoc/refactor/remove-wint
refactor: remove __STDC_ISO_10646__ check
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/mbyte.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/nvim/mbyte.c b/src/nvim/mbyte.c index 42b3ec0202..1a30852e72 100644 --- a/src/nvim/mbyte.c +++ b/src/nvim/mbyte.c @@ -71,10 +71,6 @@ # include <locale.h> #endif -#ifdef __STDC_ISO_10646__ -# include <stdc-predef.h> -#endif - typedef struct { int rangeStart; int rangeEnd; @@ -1235,12 +1231,9 @@ int mb_toupper(int a) return TOUPPER_ASC(a); } -#if defined(__STDC_ISO_10646__) - // If towupper() is available and handles Unicode, use it. if (!(cmp_flags & CMP_INTERNAL)) { return (int)towupper((wint_t)a); } -#endif // For characters below 128 use locale sensitive toupper(). if (a < 128) { @@ -1266,12 +1259,9 @@ int mb_tolower(int a) return TOLOWER_ASC(a); } -#if defined(__STDC_ISO_10646__) - // If towlower() is available and handles Unicode, use it. if (!(cmp_flags & CMP_INTERNAL)) { return (int)towlower((wint_t)a); } -#endif // For characters below 128 use locale sensitive tolower(). if (a < 128) { |