[WINESYNC] dbghelp: Use page size from sysinfo.

Signed-off-by: Jacek Caban <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>

wine commit id 1ece841d9354296f374228b9e16246a076f57196 by Jacek Caban <[email protected]>
This commit is contained in:
winesync
2020-09-16 10:35:47 +02:00
committed by Jérôme Gardou
parent e2e4ea2f5f
commit cf4c36cd26
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -403,7 +403,7 @@ static BOOL elf_map_file(struct elf_map_file_data* emfd, struct image_file_map*
{
static const BYTE elf_signature[4] = { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3 };
unsigned int i;
size_t tmp, page_mask = sysconf( _SC_PAGESIZE ) - 1;
size_t tmp, page_mask = sysinfo.dwPageSize - 1;
WCHAR *dos_path;
unsigned char e_ident[EI_NIDENT];
+1 -1
View File
@@ -569,7 +569,7 @@ static int macho_load_section_info(struct image_file_map* ifm, const struct load
struct section_info* info = user;
BOOL ignore;
int i;
unsigned long tmp, page_mask = sysconf( _SC_PAGESIZE ) - 1;
unsigned long tmp, page_mask = sysinfo.dwPageSize - 1;
uint64_t vmaddr, vmsize;
char segname[16];
uint32_t nsects;
+1 -1
View File
@@ -4,4 +4,4 @@ files:
include/dbghelp.h: sdk/include/psdk/dbghelp.h
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
tags:
wine: 7544b9f6fb0bf39c714452968e20e478efaa104a
wine: 1ece841d9354296f374228b9e16246a076f57196