From d3b3fc538b52d2efb46f0578cd1d19580837e877 Mon Sep 17 00:00:00 2001 From: Yuhang Zhao <2546789017@qq.com> Date: Sat, 29 Apr 2023 16:21:09 +0800 Subject: [PATCH] Remove old clang-cl workaround According to the upstream bug report [1], this bug has been fixed already. So remove the now useless workaround. [1] https://bugs.llvm.org/show_bug.cgi?id=41226 Change-Id: I7e17750f9e47fb9a0f8315ca15f89b741b107a35 Reviewed-by: Thiago Macieira --- src/corelib/global/qt_pch.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/corelib/global/qt_pch.h b/src/corelib/global/qt_pch.h index 207a30a5eec..e75f381f11d 100644 --- a/src/corelib/global/qt_pch.h +++ b/src/corelib/global/qt_pch.h @@ -26,11 +26,6 @@ # define _POSIX_ # include # undef _POSIX_ -# if defined(Q_CC_CLANG) && defined(Q_CC_MSVC) -// See https://bugs.llvm.org/show_bug.cgi?id=41226 -# include -__declspec(selectany) auto *__wmemchr_symbol_loader_value = wmemchr(L"", L'0', 0); -# endif # endif # include # include