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:
parent
4b917390ac
commit
3ab1214012
|
@ -40,8 +40,8 @@ int tolower_l(int, locale_t);
|
||||||
int toupper(int);
|
int toupper(int);
|
||||||
int toupper_l(int, locale_t);
|
int toupper_l(int, locale_t);
|
||||||
|
|
||||||
#define _toupper(val) ::toupper(val)
|
#define _toupper(val) toupper(val)
|
||||||
#define _tolower(val) ::tolower(val)
|
#define _tolower(val) tolower(val)
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue