diff options
Diffstat (limited to 'testing/cppcheck/avoid_execinfo.patch')
-rw-r--r-- | testing/cppcheck/avoid_execinfo.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/cppcheck/avoid_execinfo.patch b/testing/cppcheck/avoid_execinfo.patch new file mode 100644 index 0000000000..c77dbc24f3 --- /dev/null +++ b/testing/cppcheck/avoid_execinfo.patch @@ -0,0 +1,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> |