File tree Expand file tree Collapse file tree
Core/Libraries/Source/WWVegas/compat/win32_shims Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1056,6 +1056,11 @@ static inline int lstrcmpi(const char *lhs, const char *rhs)
10561056 return ::strcasecmp (lhs, rhs);
10571057}
10581058
1059+ // TheSuperHackers @build githubawn 29/07/2026 Emscripten's libc already declares and
1060+ // provides strupr, and a static definition on top of that non-static declaration is a
1061+ // compile error. Use the platform's own on that target and keep the shim everywhere
1062+ // else, where nothing declares it.
1063+ #if !defined(__EMSCRIPTEN__)
10591064static inline char *strupr (char *src)
10601065{
10611066 if (src == nullptr ) {
@@ -1068,6 +1073,7 @@ static inline char *strupr(char *src)
10681073
10691074 return src;
10701075}
1076+ #endif
10711077
10721078// TheSuperHackers @build bobtista 29/04/2026 GetCurrentDirectory and GetFileAttributes are provided by file_compat.h.
10731079
You can’t perform that action at this time.
0 commit comments