aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-12 23:25:42 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-12 23:25:42 +0200
commit4e7bcad58fa682a360b3f8386eb0cd8c91577fb3 (patch)
tree9064ac540794c6389b95e2881799e5ee2e4a33a1 /contrib
parentMerge pull request #1712 (diff)
parentFixup choice of easylogging++ vs libunwind stack trace code (diff)
downloadmonero-4e7bcad58fa682a360b3f8386eb0cd8c91577fb3.tar.xz
Merge pull request #1713
422ecc98 Fixup choice of easylogging++ vs libunwind stack trace code (moneromooo-monero)
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