Skip to content

Commit

Permalink
build: Fix compile failure in backtrace_posix.cc
Browse files Browse the repository at this point in the history
Fix compile failure in backtrace_posix.c on AIX

Fixes: #7539
PR-URL: #7544
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Brian White <mscdex@mscdex.net>
  • Loading branch information
mhdawson committed Jul 5, 2016
1 parent cd4dbf3 commit 95a3c8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backtrace_posix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <features.h>
#endif

#if defined(__linux__) && !defined(__GLIBC__)
#if defined(__linux__) && !defined(__GLIBC__) || defined(_AIX)
#define HAVE_EXECINFO_H 0
#else
#define HAVE_EXECINFO_H 1
Expand Down

0 comments on commit 95a3c8f

Please sign in to comment.