Skip to content

Commit

Permalink
Cygwin: Add missing IsWow64Process2 declaration
Browse files Browse the repository at this point in the history
The previous patch is accidentally missing the declaration of
IsWow64Process2.  Add it belatedly.

Fixes: 1865a41cb383 ("Cygwin: suppress FAST_CWD warnings on ARM64")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
  • Loading branch information
github-cygwin authored and lazka committed May 20, 2021
1 parent 25d1543 commit d77a022
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions winsup/cygwin/winlean.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ extern "C" {
executed on systems that support it (a run-time condition). */
PVOID WINAPI VirtualAlloc2 (HANDLE, PVOID, SIZE_T, ULONG, ULONG,
PMEM_EXTENDED_PARAMETER, ULONG);
/* IsWow64Process2 should be declared in <w32api/wow64apiset.h> but
isn't yet. */
BOOL WINAPI IsWow64Process2(HANDLE, USHORT *, USHORT *);

#ifdef __cplusplus
}
Expand Down

0 comments on commit d77a022

Please sign in to comment.