From 18b72f96178e0fb531cb3a8e262372ed80ec028a Mon Sep 17 00:00:00 2001 From: Kfir Itzhak Date: Sun, 6 Oct 2013 18:23:00 +0300 Subject: [PATCH] Fix detection of signal structures in cmake --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db0287b73..a599819f2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,9 +80,9 @@ check_function_exists("backtrace" HAVE_DECL_BACKTRACE) check_function_exists("posix_memalign" HAVE_POSIX_MEMALIGN) check_function_exists("strsignal" HAVE_STRSIGNAL) check_prototype_definition("round" "double round (double x)" "0.0" "math.h" HAVE_DECL_ROUND) -check_type_size("siginfo_t" SIGINFO_T) -check_type_size("ucontext_t" UCONTEXT_T) -check_type_size("struct sigcontext" STRUCT_SIGCONTEXT) +check_type_size("siginfo_t" HAVE_SIGINFO_T) +check_type_size("ucontext_t" HAVE_UCONTEXT_T) +check_type_size("struct sigcontext" HAVE_STRUCT_SIGCONTEXT) check_struct_has_member("struct sigcontext" eip signal.h HAVE_STRUCT_SIGCONTEXT_EIP) check_struct_has_member("struct sigcontext" rip signal.h HAVE_STRUCT_SIGCONTEXT_RIP)