mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
dbghelp: Fix a Solaris compilation error.
This commit is contained in:
parent
3484fa7616
commit
466d3fe8e5
@ -22,6 +22,13 @@
|
||||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#if defined(__svr4__) || defined(__sun)
|
||||
#define __ELF__
|
||||
/* large files are not supported by libelf */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
#define _FILE_OFFSET_BITS 32
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -41,10 +48,6 @@
|
||||
|
||||
#include "dbghelp_private.h"
|
||||
|
||||
#if defined(__svr4__) || defined(__sun)
|
||||
#define __ELF__
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ELF_H
|
||||
# include <elf.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user