Cygwin: mmap: Remove AT_ROUND_TO_PAGE workaround
It's working on 32 bit OSes only anyway. It even fails on WOW64. Drop unsupported NtMapViewOfSection flags. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -51,10 +51,6 @@ extern GUID __cygwin_socket_guid;
|
||||
#define FILE_AUTOGENERATED_DEVICE_NAME 0x00000080
|
||||
#define FILE_DEVICE_SECURE_OPEN 0x00000100
|
||||
|
||||
/* Allocation type values in NtMapViewOfSection call. */
|
||||
#define AT_EXTENDABLE_FILE 0x00002000
|
||||
#define AT_ROUND_TO_PAGE 0x40000000
|
||||
|
||||
/* Lock type in NtLockVirtualMemory/NtUnlockVirtualMemory call. */
|
||||
#define MAP_PROCESS 1
|
||||
#define MAP_SYSTEM 2
|
||||
|
Reference in New Issue
Block a user