aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/easylogging++.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 12:03:01 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-02-12 13:59:21 +0000
commit422ecc98e4a8d0b4bd64e33cffa3d06ca2f16a62 (patch)
tree2e8a8f92fcccd14b9035e9d3aef0740e904a064f /external/easylogging++/easylogging++.h
parentMerge pull request #1698 (diff)
downloadmonero-422ecc98e4a8d0b4bd64e33cffa3d06ca2f16a62.tar.xz
Fixup choice of easylogging++ vs libunwind stack trace code
Diffstat (limited to 'external/easylogging++/easylogging++.h')
-rw-r--r--external/easylogging++/easylogging++.h3
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