From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id AFFFA385AC11; Thu, 4 Aug 2022 18:57:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFFFA385AC11 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Corinna Vinschen To: cygwin-cvs@sourceware.org Subject: [newlib-cygwin] Cygwin: drop outdated __MINGW64_VERSION_MAJOR checks X-Act-Checkin: newlib-cygwin X-Git-Author: Corinna Vinschen X-Git-Refname: refs/heads/master X-Git-Oldrev: 7073ef4e8ff3c1024ca88d4ef8e5b17f4595b644 X-Git-Newrev: 12a3b696a4653c1ee3d5d35dbba0c067298c4b53 Message-Id: <20220804185710.AFFFA385AC11@sourceware.org> Date: Thu, 4 Aug 2022 18:57:10 +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, 04 Aug 2022 18:57:10 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dnewlib-cygwin.git;h=3D12a3b696a46= 53c1ee3d5d35dbba0c067298c4b53 commit 12a3b696a4653c1ee3d5d35dbba0c067298c4b53 Author: Corinna Vinschen Date: Thu Aug 4 20:55:25 2022 +0200 Cygwin: drop outdated __MINGW64_VERSION_MAJOR checks =20 Signed-off-by: Corinna Vinschen Diff: --- winsup/cygwin/ntdll.h | 6 ------ winsup/cygwin/winlean.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index 5cb7cc636..ad9c2e0c6 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -1465,12 +1465,6 @@ extern "C" NTSTATUS NTAPI NtMapViewOfSection (HANDLE, HANDLE, PVOID *, ULONG_PTR, S= IZE_T, PLARGE_INTEGER, PSIZE_T, SECTION_INHERIT, ULONG, ULONG); - -/* For the extended memory API. */ -#if __MINGW64_VERSION_MAJOR < 8 -#error "Version >=3D 8 of the w32api headers is required" -#endif - NTSTATUS NTAPI NtMapViewOfSectionEx (HANDLE, HANDLE, PVOID *, PLARGE_INT= EGER, PSIZE_T, ULONG, ULONG, PMEM_EXTENDED_PARAMETER, ULONG); diff --git a/winsup/cygwin/winlean.h b/winsup/cygwin/winlean.h index de7305e26..6f9c1df24 100644 --- a/winsup/cygwin/winlean.h +++ b/winsup/cygwin/winlean.h @@ -99,11 +99,6 @@ details. */ extern "C" { #endif =20 -/* For the extended memory API. */ -#if __MINGW64_VERSION_MAJOR < 8 -#error "Version >=3D 8 of the w32api headers is required" -#endif - /* IsWow64Process2 should be declared in but isn't yet. */ BOOL WINAPI IsWow64Process2(HANDLE, USHORT *, USHORT *);