Skip to content

Commit

Permalink
fixed mingw not finding bfd.h
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdavidgraham committed Jul 19, 2017
1 parent 796ee67 commit 0c7eb40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pixie-backtrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 0c7eb40

Please sign in to comment.