From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id 310CE385781D; Thu, 20 May 2021 08:26:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 310CE385781D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: Add missing IsWow64Process2 declaration X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 338548f82fa32748a92c94036644db1a5b42cbf5 X-Git-Newrev: 23d071229d3d963a252b6807ceaec50f73b1577c Message-Id: <20210520082620.310CE385781D@sourceware.org> Date: Thu, 20 May 2021 08:26:20 +0000 (GMT) X-BeenThere: cygwin-cvs@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin core component git logs List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2021 08:26:20 -0000 https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=23d071229d3d963a252b6807ceaec50f73b1577c commit 23d071229d3d963a252b6807ceaec50f73b1577c Author: Corinna Vinschen 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 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 but + isn't yet. */ +BOOL WINAPI IsWow64Process2(HANDLE, USHORT *, USHORT *); #ifdef __cplusplus }