LibC: Fix _toupper and _tolower definitions

They were using C++ global namespace, which of course does not exist for
C targets.
This commit is contained in:
Bananymous 2024-07-18 01:10:51 +03:00
parent 4b917390ac
commit 3ab1214012
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ int tolower_l(int, locale_t);
int toupper(int);
int toupper_l(int, locale_t);
#define _toupper(val) ::toupper(val)
#define _tolower(val) ::tolower(val)
#define _toupper(val) toupper(val)
#define _tolower(val) tolower(val)
__END_DECLS