[Bug lto/106170] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Sun Jul 3 04:54:56 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170

--- Comment #1 from cqwrteur <unlvsur at live dot com> ---
windows does not provide those things. You can use EnterCriticalSection/
LeaveCriticalSection instead.

I can write a patch to fix it for windows.


More information about the Gcc-bugs mailing list