mirror of
https://github.com/monero-project/monero.git
synced 2025-12-29 22:20:42 -08:00
only include the easylogging++ stack trace code when needed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user