aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cppcheck/avoid_execinfo.patch
blob: c77dbc24f3d60355add2483dafadd341b8d1b929 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- cppcheck-1.68-origin/cli/cppcheckexecutor.cpp
+++ cppcheck-1.68/cli/cppcheckexecutor.cpp
@@ -51,7 +51,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>