https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67114
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> --- The point of my patch in comment 6 was to allow the customization to be done in os_defines.h, not to litter the <thread> header. If you're going to add #ifdef checks for PTW32_VERSION in <thread> then there's no point using my patch in comment 6.