https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #10 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- I can confirm GCC 12.2.0 builds fine with that patch and without CFLAG -D__USE_MINGW_ACCESS
brechtsanders at users dot sourceforge.net via Gcc-bugs Mon, 16 Jan 2023 13:32:25 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506
--- Comment #10 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- I can confirm GCC 12.2.0 builds fine with that patch and without CFLAG -D__USE_MINGW_ACCESS