macos also support backtrace api.

This commit is contained in:
David Carlier 2020-03-27 19:01:36 +00:00
parent 9acb99ed08
commit e50fb5dbe4

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