public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] Cygwin: Add missing IsWow64Process2 declaration
Date: Thu, 20 May 2021 08:26:20 +0000 (GMT)	[thread overview]
Message-ID: <20210520082620.310CE385781D@sourceware.org> (raw)

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
 }


                 reply	other threads:[~2021-05-20  8:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210520082620.310CE385781D@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).