zlib
zlib copied to clipboard
Fix compilation with clang-cl on windows
When compiling with Visual Studio using clang-cl
compiler the resource-compiler of MSVC will still be used. However, it trips over some clang-specific things in the C standard headers of libc++
which come with clang-cl
.
With the changes introduced in this PR the resource-compiler will no longer see these problematic headers etc.
I have submitted the issue to Microsoft. https://developercommunity.visualstudio.com/t/ClangCl-include_next-error-when-includi/1622642?space=62&entry=myfeedback