hello *pton has also the same wrong declaration, no ?
Vincent Torri On Mon, Apr 22, 2019 at 9:07 PM Martin Storsjö <mar...@martin.st> wrote: > > On Mon, 22 Apr 2019, Liu Hao wrote: > > > 在 2019/4/22 下午8:27, Martin Storsjö 写道: > >> On Sat, 20 Apr 2019, Liu Hao wrote: > >> > >>> 在 2019/4/19 下午4:59, Vincent Torri 写道: > >>>> when will this hit git or next mingw-w64 release ? > >>>> > >>> > >>> > >>> For this small change I will leave it on this mailing list for > >>> discussion. If there is no objection I may push it a couple of days > >>> later. > >> > >> Your patch broke compilation, as there's no type PCVOID commonly > >> defined, only PVOID and LPCVOID. > >> > >> I pushed a fix for master, I can backport it just like your patch a bit > >> later, unless you beat me to it. > >> > >> > > > > Well, there is a definition of `PCVOID` in 'cfgmgr32.h', but it is only > > used in that file. > > Yup, that's what I meant about "commonly defined". (I was a bit terse > before, typing on a phone.) > > > And, thanks for the fix. I have just noticed that these functions aren't > > available unless `_WIN32_WINNT` is at least `0x0600` and it is why it > > didn't fail on my side. Apologize for that. > > Ah, yes, that explains why it slipped through. > > // Martin > > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public