mirror of
https://github.com/reactos/reactos.git
synced 2025-03-01 03:45:16 +00:00
[UCRT] Add a hack for a clang bug
See CORE-19902
This commit is contained in:
parent
42e9c80279
commit
ef440b9aef
1 changed files with 7 additions and 0 deletions
|
@ -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__
|
||||
|
||||
|
||||
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue