aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cppcheck/avoid_execinfo.patch
blob: 8924a0b0d600e3a98906766d3c3eeb7270c9aa7d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- cppcheck-1.73-origin/cli/cppcheckexecutor.cpp
+++ cppcheck-1.73/cli/cppcheckexecutor.cpp
@@ -50,7 +50,7 @@
 #endif
 #endif
 
-#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__)
+#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined (__GLIBC__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__)
 #define USE_UNIX_BACKTRACE_SUPPORT
 #include <cxxabi.h>
 #include <execinfo.h>