[PATCH] Ensure PSAPI_VERSION is 1 when building ldd

Corinna Vinschen corinna-cygwin@cygwin.com
Wed May 26 09:04:34 GMT 2021


On May 25 22:37, Jon Turney wrote:
> On 22/05/2021 16:08, Jon Turney wrote:
> > On 20/05/2021 19:05, Corinna Vinschen wrote:
> > > Hi Jon,
> > > 
> > > On May 20 18:46, Jon Turney wrote:
> > > > The default PSAPI_VERSION is controlled by WIN32_WINNT, which we set to
> > > > 0x0a00 when building ldd, which gets PSAPI_VERSION=2.
> 
> In the just released w32api 9.0.0, _WIN32_WINNT is now set to 0xa00 by
> default, so this issue is probably going to surface in a few other places as
> well.

I added _WIN32_WINNT and NTDDI_VERSION settings to make sure we notice
any problems right away.

In utils, I did this by tweaking CFLAGS_COMMON.  Maybe we should add a
generic utils.h instead, which contains all common definitions...?


Corinna


More information about the Cygwin-patches mailing list