void-packages/srcpkgs/monero/patches/easylogging.patch

12 lines
553 B
Diff

--- external/easylogging++/easylogging++.h 2018-03-25 11:13:30.152606274 +0200
+++ external/easylogging++/easylogging++.h 2018-03-25 11:14:51.038363937 +0200
@@ -200,7 +200,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)
+# if (__has_include(<execinfo.h>) && ELPP_COMPILER_GCC && !ELPP_MINGW && !ELPP_OS_OPENBSD)
# define ELPP_STACKTRACE 1
# else
# define ELPP_STACKTRACE 0