public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Add missing IsWow64Process2 declaration
@ 2021-05-20  8:26 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2021-05-20  8:26 UTC (permalink / raw)
  To: cygwin-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=23d071229d3d963a252b6807ceaec50f73b1577c

commit 23d071229d3d963a252b6807ceaec50f73b1577c
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu May 20 10:03:34 2021 +0200

    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>

Diff:
---
 winsup/cygwin/winlean.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h
index 2e2308eb6..338268607 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
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-20  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  8:26 [newlib-cygwin] Cygwin: Add missing IsWow64Process2 declaration Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).