Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions common/wwstd.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,16 @@ inline static void _splitpath(const char* path, char* drive, char* dir, char* fn
}
}

#ifndef __MINT__
inline static char* strupr(char* str)
{
for (int i = 0; i < strlen(str); i++)
str[i] = toupper(str[i]);
return str;
}
#endif

#ifndef __MINT__
inline static void strrev(char* str)
{
int len = strlen(str);
Expand All @@ -275,6 +278,7 @@ inline static void strrev(char* str)
str[len - i - 1] = c;
}
}
#endif

inline static void _strlwr(char* str)
{
Expand Down