Commit 466d3fe8 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

dbghelp: Fix a Solaris compilation error.

parent 3484fa76
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment