[PATCH] Define PSAPI_VERSION as 1 before including psapi.h

2021-06-20 Thread Jon Turney
The default PSAPI_VERSION is controlled by WIN32_WINNT, which we set to 0x0a00 when building utils since 48a76190 (and is the default in w32api >= 9.0.0) In order for the built executables to run on Windows Vista, we must also define PSAPI_VERSION as 1 (otherwise '#define GetModuleFileNameExA K32G

Re: [PATCH] Define PSAPI_VERSION as 1 before including psapi.h

2021-07-06 Thread Corinna Vinschen
Hi Jon, On Jun 20 14:37, Jon Turney wrote: > The default PSAPI_VERSION is controlled by WIN32_WINNT, which we set to > 0x0a00 when building utils since 48a76190 (and is the default in w32api > >= 9.0.0) > > In order for the built executables to run on Windows Vista, we must also > define PSAPI_VE