mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-20 13:29:24 +08:00
a9c8050c36
The default PSAPI_VERSION is controlled by WIN32_WINNT, which we set to 0x0a00 when building ldd, which gets PSAPI_VERSION=2. This causes K32GetModuleFileNameEx to be used for GetModuleFileNameEx, which isn't available on Windows Vista. Define PSAPI_VERSION as 1 for the built executable to work on Windows Vista.