mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WINESYNC] dbghelp: Don't use system headers for ELF declarations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id b664ae8e60e08224cdc3025c28a37cb22356aaa4 by Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
parent
9228b75d7f
commit
45b55dc9b2
3 changed files with 2 additions and 23 deletions
|
@ -24,9 +24,6 @@
|
|||
|
||||
#if defined(__svr4__) || defined(__sun)
|
||||
#define __ELF__ 1
|
||||
/* large files are not supported by libelf */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
#define _FILE_OFFSET_BITS 32
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -34,9 +31,8 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
#include "dbghelp_private.h"
|
||||
#include "winternl.h"
|
||||
|
||||
#include "image_private.h"
|
||||
#include "winternl.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
#include "wine/heap.h"
|
||||
|
|
|
@ -21,23 +21,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifdef HAVE_ELF_H
|
||||
# include <elf.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_ELF32_H
|
||||
# include <sys/elf32.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_EXEC_ELF_H
|
||||
# include <sys/exec_elf.h>
|
||||
#endif
|
||||
#if !defined(DT_NUM)
|
||||
# if defined(DT_COUNT)
|
||||
# define DT_NUM DT_COUNT
|
||||
# else
|
||||
/* this seems to be a satisfactory value on Solaris, which doesn't support this AFAICT */
|
||||
# define DT_NUM 24
|
||||
# endif
|
||||
#endif
|
||||
#ifdef HAVE_LINK_H
|
||||
# include <link.h>
|
||||
#endif
|
||||
|
|
|
@ -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: 56f2b950c3a090d1951edd687e1c6e9ed9388732
|
||||
wine: b664ae8e60e08224cdc3025c28a37cb22356aaa4
|
||||
|
|
Loading…
Reference in a new issue