aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2021-05-20 10:03:34 +0200
committerCorinna Vinschen <corinna@vinschen.de>2021-05-20 10:04:07 +0200
commit23d071229d3d963a252b6807ceaec50f73b1577c (patch)
treed59b59a848a66abc875f69be5559b6a82999944b
parent338548f82fa32748a92c94036644db1a5b42cbf5 (diff)
downloadnewlib-23d071229d3d963a252b6807ceaec50f73b1577c.zip
newlib-23d071229d3d963a252b6807ceaec50f73b1577c.tar.gz
newlib-23d071229d3d963a252b6807ceaec50f73b1577c.tar.bz2
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 <corinna@vinschen.de>
-rw-r--r--winsup/cygwin/winlean.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 2e2308e..3382686 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 <w32api/wow64apiset.h> but
+ isn't yet. */
+BOOL WINAPI IsWow64Process2(HANDLE, USHORT *, USHORT *);
#ifdef __cplusplus
}