mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[WINESYNC] dbghelp: Use page size from sysinfo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 1ece841d9354296f374228b9e16246a076f57196 by Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
parent
e2e4ea2f5f
commit
cf4c36cd26
3 changed files with 3 additions and 3 deletions
|
@ -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 };
|
static const BYTE elf_signature[4] = { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3 };
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
size_t tmp, page_mask = sysconf( _SC_PAGESIZE ) - 1;
|
size_t tmp, page_mask = sysinfo.dwPageSize - 1;
|
||||||
WCHAR *dos_path;
|
WCHAR *dos_path;
|
||||||
unsigned char e_ident[EI_NIDENT];
|
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;
|
struct section_info* info = user;
|
||||||
BOOL ignore;
|
BOOL ignore;
|
||||||
int i;
|
int i;
|
||||||
unsigned long tmp, page_mask = sysconf( _SC_PAGESIZE ) - 1;
|
unsigned long tmp, page_mask = sysinfo.dwPageSize - 1;
|
||||||
uint64_t vmaddr, vmsize;
|
uint64_t vmaddr, vmsize;
|
||||||
char segname[16];
|
char segname[16];
|
||||||
uint32_t nsects;
|
uint32_t nsects;
|
||||||
|
|
|
@ -4,4 +4,4 @@ files:
|
||||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||||
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
include/wine/mscvpdb.h: sdk/include/reactos/wine/mscvpdb.h
|
||||||
tags:
|
tags:
|
||||||
wine: 7544b9f6fb0bf39c714452968e20e478efaa104a
|
wine: 1ece841d9354296f374228b9e16246a076f57196
|
||||||
|
|
Loading…
Reference in a new issue