mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[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:
@@ -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];
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user