From 92718aaaeb08d139b346633333235bf2260d0848 Mon Sep 17 00:00:00 2001 From: Aliaksey Kandratsenka Date: Sun, 14 Feb 2021 13:34:58 -0800 Subject: [PATCH] amputate checking for conflict-signal.h It was never found or used. --- CMakeLists.txt | 1 - cmake/config.h.in | 3 --- src/profiler.cc | 3 --- src/windows/config.h | 3 --- 4 files changed, 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8992d02..a696f77 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -183,7 +183,6 @@ check_include_file("glob.h" HAVE_GLOB_H) # for heap-profile-table (cleaning up p check_include_file("execinfo.h" HAVE_EXECINFO_H) # for stacktrace? and heapchecker_unittest check_include_file("unwind.h" HAVE_UNWIND_H) # for stacktrace check_include_file("sched.h" HAVE_SCHED_H) # for being nice in our spinlock code -check_include_file("conflict-signal.h" HAVE_CONFLICT_SIGNAL_H) # defined on some windows platforms? check_include_file("sys/prctl.h" HAVE_SYS_PRCTL_H) # for thread_lister (needed by leak-checker) check_include_file("linux/ptrace.h" HAVE_LINUX_PTRACE_H) # also needed by leak-checker check_include_file("sys/syscall.h" HAVE_SYS_SYSCALL_H) diff --git a/cmake/config.h.in b/cmake/config.h.in index 9996b92..177456f 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -33,9 +33,6 @@ /* Define to 1 if compiler supports __builtin_stack_pointer */ #cmakedefine HAVE_BUILTIN_STACK_POINTER -/* Define to 1 if you have the header file. */ -#cmakedefine HAVE_CONFLICT_SIGNAL_H - /* Define to 1 if you have the header file. */ #cmakedefine HAVE_CYGWIN_SIGNAL_H diff --git a/src/profiler.cc b/src/profiler.cc index 077b6b8..227deb2 100644 --- a/src/profiler.cc +++ b/src/profiler.cc @@ -65,9 +65,6 @@ typedef int ucontext_t; // just to quiet the compiler, mostly #include "base/sysinfo.h" /* for GetUniquePathFromEnv, etc */ #include "profiledata.h" #include "profile-handler.h" -#ifdef HAVE_CONFLICT_SIGNAL_H -#include "conflict-signal.h" /* used on msvc machines */ -#endif using std::string; diff --git a/src/windows/config.h b/src/windows/config.h index 91b2767..0f320a0 100644 --- a/src/windows/config.h +++ b/src/windows/config.h @@ -39,9 +39,6 @@ /* Define to 1 if compiler supports __builtin_stack_pointer */ /* #undef HAVE_BUILTIN_STACK_POINTER */ -/* Define to 1 if you have the header file. */ -/* #undef HAVE_CONFLICT_SIGNAL_H */ - /* Define to 1 if you have the header file. */ /* #undef HAVE_CYGWIN_SIGNAL_H */