Commit 0c7eb402 authored by Robert David Graham's avatar Robert David Graham
Browse files

fixed mingw not finding bfd.h

parent 796ee67e
Loading
Loading
Loading
Loading
+1 −2
Changes for src/pixie-backtrace.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@
char global_self[512] = "";


#if defined(__GLIBC__)
#if defined(__GLIBC__) && !defined(WIN32)
#include <unistd.h>
#include <execinfo.h>
#include <dlfcn.h>
@@ -89,7 +89,6 @@ pixie_backtrace_init(const char *self)
	signal(SIGSEGV, handle_segfault);
}
#elif defined(__MINGW32__)
#include <bfd.h>

void
pixie_backtrace_init(const char *self)