https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53769
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #20 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It is not that easy. __STDC_NO_THREADS__ is a predefined macro, so it would mean (at least on targets without stdc-predef.h, with that header one would hope that the library describes its implementation correctly) the compiler would need on every single compilation try to internally #if !__has_include(<threads.h>) #define __STDC_NO_THREADS__ #endif or so.