From 9485c91fd8f51caeeb8f97d6781c27998b96166c Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath
Date: Tue, 27 Jun 2023 23:35:16 +0530
Subject: [PATCH] crt: Add VirtualAlloc2 and MapViewOfFile3 in mincore
Signed-off-by: Biswapriyo Nath
---
mingw-w64-crt/lib-common/api-ms-win-core-memory-l1-1-6.def
在 2023-06-27 20:24, Steve Lhomme 写道:
They're allowed by the WACK and available in windowsapp.lib since 19H1.
They're not allowed by the Windows SDK headers.
These functions can be found in api-ms-win-core-localization-l1-2-0.
---
mingw-w64-headers/include/winnls.h | 13 -
1 file c
It's allowed by the WACK and available in windowsapp.lib since 19H1.
It's not allowed by the Windows SDK headers.
CreateFileW/A can be found in api-ms-win-core-file-l1-1-0. CreateFileW
was there even in Windows 8.
We need to remove it from windowsappcompat to avoid double definition
when linking.
They're allowed by the WACK and available in windowsapp.lib since 19H1.
They're not allowed by the Windows SDK headers.
These functions can be found in api-ms-win-core-localization-l1-2-0.
---
mingw-w64-headers/include/winnls.h | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
It's allowed by the WACK and available in windowsapp.lib since 19H1.
It's not allowed by the Windows SDK headers.
GetFileSize can be found in api-ms-win-core-file-l1-1-0.
We need to remove it from windowsappcompat to avoid double definition
when linking.
---
mingw-w64-headers/include/fileapi.h