Merge pull request #538 from devnexen/fix_build_apple_backtrace_support

macos also support backtrace api.
This commit is contained in:
Yamagi 2020-03-28 11:27:41 +01:00 committed by GitHub
commit 0785996786
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,13 +28,9 @@
#include <signal.h>
#if defined(__linux__) || defined(__FreeBSD__)
#endif
#include "../../common/header/common.h"
#if defined(__linux__) || defined(__FreeBSD__)
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
#include <execinfo.h>
void