diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-12-28 08:57:59 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-12-28 08:57:59 +0200 |
commit | 8980aacbe858b26af584888041985b559fcc69c9 (patch) | |
tree | ee3d58892eb83bb61588f9a4c3ed0fe11a8f22c4 /src | |
parent | Merge pull request #2952 (diff) | |
parent | only include the easylogging++ stack trace code when needed (diff) | |
download | monero-8980aacbe858b26af584888041985b559fcc69c9.tar.xz |
Merge pull request #2940
da0fd71d only include the easylogging++ stack trace code when needed (moneromooo-monero)
81b04cfa easlogging++: omit some unneded macros (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/stack_trace.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <stdexcept> #ifdef USE_UNWIND |