From e50fb5dbe40f60498d0a47f22905e3006ac0b994 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Fri, 27 Mar 2020 19:01:36 +0000 Subject: [PATCH] macos also support backtrace api. --- src/backends/unix/signalhandler.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/backends/unix/signalhandler.c b/src/backends/unix/signalhandler.c index 479217fa..d4d269e3 100644 --- a/src/backends/unix/signalhandler.c +++ b/src/backends/unix/signalhandler.c @@ -28,13 +28,9 @@ #include -#if defined(__linux__) || defined(__FreeBSD__) - -#endif - #include "../../common/header/common.h" -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) #include void