aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/easylogging.patch
blob: 3228501a47f727894d9ba5d9e84d2c40d86c7dac (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/external/easylogging++/easylogging++.h	2018-10-10 13:06:21.126417347 +0200
+++ b/external/easylogging++/easylogging++.h	2018-10-10 13:07:35.488416829 +0200
@@ -205,7 +205,7 @@
 #  define ELPP_INTERNAL_INFO(lvl, msg)
 #endif  // (defined(ELPP_DEBUG_INFO))
 #if (defined(ELPP_FEATURE_ALL)) || (defined(ELPP_FEATURE_CRASH_LOG))
-#  if (ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD)
+#  if ( __has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD && !ELPP_OS_NETBSD)
 #    define ELPP_STACKTRACE 1
 #  else
 #    define ELPP_STACKTRACE 0