Include execinfo.h only on __GLIBC__
This commit is contained in:
parent
a16a9eab4f
commit
ffed489156
@ -8,7 +8,9 @@
|
|||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include "../StackWalker.h"
|
#include "../StackWalker.h"
|
||||||
#else
|
#else
|
||||||
#include <execinfo.h>
|
#ifdef __GLIBC__
|
||||||
|
#include <execinfo.h>
|
||||||
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user