#include <string.h>
+#undef __MINGW_IMPORT
+#define __MINGW_IMPORT
#include <ctype.h>
#undef _pctype
*/
int __iscsym(int c)
{
- return(isalnum(c)||(c == '_'));
+ return (c < 127 && (isalnum(c) || (c == '_')));
}
/*
*/
int __iscsymf(int c)
{
- return(isalpha(c)||(c == '_'));
+ return (c < 127 && (isalpha(c) || (c == '_')));
}
/*
/*
* @implemented
*/
-wchar_t towlower(wchar_t c)
+wint_t towlower(wint_t c)
{
if (iswctype (c, _UPPER))
return (c - upalpha);
/*
* @implemented
*/
-wchar_t towupper(wchar_t c)
+wint_t towupper(wint_t c)
{
if (iswctype (c, _LOWER))
return (c + upalpha);