[UCRT] Add a hack for a clang bug

See CORE-19902
This commit is contained in:
Timo Kreuzer 2024-11-28 15:14:28 +02:00
parent 42e9c80279
commit ef440b9aef

View file

@ -53,6 +53,13 @@ errno_t __cdecl _wsopen_nolock(
} // extern "C"
#endif // __GNUC__
#ifdef __clang__
// Hack for broken Clang, which crashes, when using __cdecl on a static template function.
// See CORE-19902
#undef __cdecl
#define __cdecl
#endif // __clang__
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
//