在 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. 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. -- Best regards, LH_Mouse
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public