https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108222
Bug ID: 108222 Summary: windows 9x support for libstdc++ threads and probably other character types Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- windows 9x needs to call A apis CreateFileA not CreateFileW for example CreateSemaphoreA not CreateSemaphoreW for example 9x for A and NT for W. https://github.com/gcc-mirror/gcc/blob/dcf8fe1eeab668a4d24bcc4baa3ad185dbf1b5e0/libgcc/config/i386/gthr-win32.c#L196 Like this should call A apis when -D_WIN32_WINDOWS is defined.