mirror of
https://github.com/monero-project/monero.git
synced 2025-08-13 07:45:34 -04:00
only include the easylogging++ stack trace code when needed
This commit is contained in:
parent
81b04cfa88
commit
da0fd71d3e
2 changed files with 7 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue