aboutsummaryrefslogtreecommitdiff
path: root/contrib
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 /contrib
parentMerge pull request #1698 (diff)
downloadmonero-422ecc98e4a8d0b4bd64e33cffa3d06ca2f16a62.tar.xz
Fixup choice of easylogging++ vs libunwind stack trace code
Diffstat (limited to 'contrib')
-rw-r--r--contrib/epee/include/misc_log_ex.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/epee/include/misc_log_ex.h b/contrib/epee/include/misc_log_ex.h
index b1685f382..ae61965fa 100644
--- a/contrib/epee/include/misc_log_ex.h
+++ b/contrib/epee/include/misc_log_ex.h
@@ -51,8 +51,9 @@
#define ELPP_THREAD_SAFE
#define ELPP_DEFAULT_LOG_FILE ""
-#ifndef __ANDROID__
-#define ELPP_STACKTRACE_ON_CRASH 0
+#if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__
+#else
+#define ELPP_STACKTRACE_ON_CRASH 1
#endif
#define ELPP_DISABLE_DEFAULT_CRASH_HANDLING
#define ELPP_FEATURE_CRASH_LOG 1