void-packages/srcpkgs/monero/patches/easylogging.patch
Helmut Pozimski 637c8a1cd5 New package: monero-0.11.0.0
Closes: #7779 [via git-merge-pr]
2017-09-28 08:38:10 +02:00

11 lines
443 B
Diff

--- external/easylogging++/easylogging++.h
+++ external/easylogging++/easylogging++.h
@@ -195,7 +195,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)
+# if (__has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW)
# define ELPP_STACKTRACE 1
# else
# define ELPP_STACKTRACE 0