https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57440
--- Comment #15 from Kai Tietz <ktietz at gcc dot gnu.org> --- Posted patch to ML for defining _GTHREAD_USE_MUTEX_INIT_FUNC in mingw-w64, and mingw32 case. It is true that posix-threading support for Windows is right now only provided by mingw-w64 based toolchains, nevertheless is the issue a general one on native Windows platforms using posix-threading.