From 8c65f4b11e4f81415a242e71b9f6e6945b923999 Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Sat, 13 Jun 2015 08:31:13 +0200 Subject: [PATCH] [runtime] Fix a typo, should be HAVE_PRCTL --- mono/mini/mini-exceptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c index 328f29d1e86..afc0245a4b1 100644 --- a/mono/mini/mini-exceptions.c +++ b/mono/mini/mini-exceptions.c @@ -2218,7 +2218,7 @@ mono_handle_native_sigsegv (int signal, void *ctx, MONO_SIG_HANDLER_INFO_TYPE *i * it will deadlock. Call the syscall directly instead. */ pid = mono_runtime_syscall_fork (); -#if defined (__linux__) && defined (HAVE_PCRTL) +#if defined (__linux__) && defined (HAVE_PRCTL) if (pid > 0) { // Allow gdb to attach to the process even if ptrace_scope sysctl variable is set to // a value other than 0 (the most permissive ptrace scope). Most modern Linux -- 2.25.1