[runtime] Fix a typo, should be HAVE_PRCTL
authorMarek Habersack <grendel@twistedcode.net>
Sat, 13 Jun 2015 06:31:13 +0000 (08:31 +0200)
committerMarek Habersack <grendel@twistedcode.net>
Sat, 13 Jun 2015 06:31:13 +0000 (08:31 +0200)
mono/mini/mini-exceptions.c

index 328f29d1e869c6ffe3f01954cb98852ee472b72a..afc0245a4b1e401eb410b77f6b1cd8d795f1b3ae 100644 (file)
@@ -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