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 /external | |
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 'external')
-rw-r--r-- | external/easylogging++/ea_config.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/external/easylogging++/ea_config.h b/external/easylogging++/ea_config.h index 6215e67de..c97858f30 100644 --- a/external/easylogging++/ea_config.h +++ b/external/easylogging++/ea_config.h @@ -2,10 +2,11 @@ #define ELPP_THREAD_SAFE #define ELPP_DEFAULT_LOG_FILE "" -#if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__ -#else -#define ELPP_FEATURE_CRASH_LOG 1 -#endif #define ELPP_DISABLE_DEFAULT_CRASH_HANDLING #define ELPP_NO_CHECK_MACROS #define ELPP_WINSOCK2 +#define ELPP_NO_DEBUG_MACROS + +#ifdef EASYLOGGING_CC +#define ELPP_FEATURE_CRASH_LOG +#endif |