From d77a022baf5b1f6e8ce7f04ce294a60df1d13519 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 20 May 2021 10:03:34 +0200 Subject: [PATCH] Cygwin: Add missing IsWow64Process2 declaration 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 --- winsup/cygwin/winlean.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h index 2e2308eb67..3382686072 100644 --- a/winsup/cygwin/winlean.h +++ b/winsup/cygwin/winlean.h @@ -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 but + isn't yet. */ +BOOL WINAPI IsWow64Process2(HANDLE, USHORT *, USHORT *); #ifdef __cplusplus }