summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alkondratenko@gmail.com>2021-02-14 13:34:58 -0800
committerAliaksey Kandratsenka <alkondratenko@gmail.com>2021-02-14 15:12:19 -0800
commit92718aaaeb08d139b346633333235bf2260d0848 (patch)
tree80a17949bbead430a2ed7357d89022ba1d5a4b4f
parent9bb2937261bca6c0257a8cfd62ff97f69c450acb (diff)
downloadgperftools-92718aaaeb08d139b346633333235bf2260d0848.tar.gz
amputate checking for conflict-signal.h
It was never found or used.
-rw-r--r--CMakeLists.txt1
-rw-r--r--cmake/config.h.in3
-rw-r--r--src/profiler.cc3
-rw-r--r--src/windows/config.h3
4 files changed, 0 insertions, 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 <conflict-signal.h> header file. */
-#cmakedefine HAVE_CONFLICT_SIGNAL_H
-
/* Define to 1 if you have the <cygwin/signal.h> 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 <conflict-signal.h> header file. */
-/* #undef HAVE_CONFLICT_SIGNAL_H */
-
/* Define to 1 if you have the <cygwin/signal.h> header file. */
/* #undef HAVE_CYGWIN_SIGNAL_H */