diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-12 23:25:42 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-12 23:25:42 +0200 |
commit | 4e7bcad58fa682a360b3f8386eb0cd8c91577fb3 (patch) | |
tree | 9064ac540794c6389b95e2881799e5ee2e4a33a1 /external/easylogging++/easylogging++.h | |
parent | Merge pull request #1712 (diff) | |
parent | Fixup choice of easylogging++ vs libunwind stack trace code (diff) | |
download | monero-4e7bcad58fa682a360b3f8386eb0cd8c91577fb3.tar.xz |
Merge pull request #1713
422ecc98 Fixup choice of easylogging++ vs libunwind stack trace code (moneromooo-monero)
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r-- | external/easylogging++/easylogging++.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/external/easylogging++/easylogging++.h b/external/easylogging++/easylogging++.h index 24e271e80..1cf9dbac8 100644 --- a/external/easylogging++/easylogging++.h +++ b/external/easylogging++/easylogging++.h @@ -198,12 +198,15 @@ ELPP_INTERNAL_DEBUGGING_OUT_INFO << ELPP_INTERNAL_DEBUGGING_MSG(internalInfoStre # if (ELPP_COMPILER_GCC && !ELPP_MINGW) # define ELPP_STACKTRACE 1 # else +# define ELPP_STACKTRACE 0 # if ELPP_COMPILER_MSVC # pragma message("Stack trace not available for this compiler") # else # warning "Stack trace not available for this compiler"; # endif // ELPP_COMPILER_MSVC # endif // ELPP_COMPILER_GCC +#else +# define ELPP_STACKTRACE 0 #endif // (defined(ELPP_STACKTRACE_ON_CRASH)) // Miscellaneous macros #define ELPP_UNUSED(x) (void)x |