From da0fd71d3eae7d45ac1e884190bfd5a2b3eb917a Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 16 Dec 2017 15:30:56 +0000 Subject: only include the easylogging++ stack trace code when needed --- src/common/stack_trace.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/stack_trace.cpp') diff --git a/src/common/stack_trace.cpp b/src/common/stack_trace.cpp index bcdf72b60..ed1093309 100644 --- a/src/common/stack_trace.cpp +++ b/src/common/stack_trace.cpp @@ -28,7 +28,10 @@ #if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__ #define USE_UNWIND +#else +#define ELPP_FEATURE_CRASH_LOG 1 #endif +#include "easylogging++/easylogging++.h" #include #ifdef USE_UNWIND -- cgit v1.2.3