Skip to content

Commit 4bd6a75

Browse files
committed
execinfo.h is part of glibc
On systems where glibc is not available, execinfo.h should not be included.
1 parent b964513 commit 4bd6a75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/cppcheckexecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
#endif
5151
#endif
5252

53-
#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__)
53+
#if !defined(NO_UNIX_BACKTRACE_SUPPORT) && defined(USE_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && defined(__GLIBC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) && !defined(__NetBSD__) && !defined(__SVR4) && !defined(__QNX__)
5454
#define USE_UNIX_BACKTRACE_SUPPORT
5555
#include <cxxabi.h>
5656
#include <execinfo.h>

0 commit comments

Comments
 (0)