newlib-cygwin/winsup/utils/mingw
Jon Turney 9a231073a5
Cygwin: Define PSAPI_VERSION as 1 before including psapi.h
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
K32GetModuleFileNameExA' causes a 'The procedure entry point
K32GetModuleFilenameExA could not be located in the dynamic link library
kernel32.dll' error at run time).

Also drop uneeded psapi.h from dlfcn.cc (31ddf45d), resource.cc
(34a6eeab) and ps.cc (1def2148).
2021-07-09 13:24:08 +01:00
..
Makefile.am Cygwin: utils: enable -idirafter to fetch Cygwin headers from mingw sources 2021-05-26 11:01:32 +02:00
bloda.cc Cygwin: Define PSAPI_VERSION as 1 before including psapi.h 2021-07-09 13:24:08 +01:00
cygcheck.cc Cygwin: utils: enable -idirafter to fetch Cygwin headers from mingw sources 2021-05-26 11:01:32 +02:00
cygwin-console-helper.cc Move source files used in utils/mingw/ into that subdirectory 2021-05-10 14:41:40 +01:00
dump_setup.cc Move source files used in utils/mingw/ into that subdirectory 2021-05-10 14:41:40 +01:00
ldh.cc Move source files used in utils/mingw/ into that subdirectory 2021-05-10 14:41:40 +01:00
path.cc Move source files used in utils/mingw/ into that subdirectory 2021-05-10 14:41:40 +01:00
strace.cc Get rid of relative include paths in strace.cc 2021-05-10 14:41:41 +01:00
testsuite.cc Move source files used in utils/mingw/ into that subdirectory 2021-05-10 14:41:40 +01:00
testsuite.h Cygwin: utils: enable -idirafter to fetch Cygwin headers from mingw sources 2021-05-26 11:01:32 +02:00