* acconfig.h
[claws.git] / src / crash.c
index 157185f8a1224c0f7c65ab84cbd49d4aad9a8f26..134e5727cf54bdb6acf1f2d5650d7a651bad44ce 100644 (file)
@@ -86,7 +86,7 @@ static const gchar *DEBUG_SCRIPT = "bt\nkill\nq";
  */
 void crash_install_handlers(void)
 {
-#if HAVE_GDB
+#if CRASH_DIALOG 
        sigset_t mask;
 
        if (!is_crash_dialog_allowed()) return;
@@ -114,7 +114,7 @@ void crash_install_handlers(void)
 #endif
 
        sigprocmask(SIG_UNBLOCK, &mask, 0);
-#endif /* HAVE_GDB */  
+#endif /* CRASH_DIALOG */      
 }
 
 /***/
@@ -124,7 +124,7 @@ void crash_install_handlers(void)
  */
 void crash_main(const char *arg) 
 {
-#if HAVE_GDB
+#if CRASH_DIALOG 
        gchar *text;
        gchar **tokens;
        unsigned long pid;
@@ -151,7 +151,7 @@ void crash_main(const char *arg)
        g_string_free(output, TRUE);
        g_free(text);
        g_strfreev(tokens);
-#endif /* HAVE_GDB */  
+#endif /* CRASH_DIALOG */      
 }
 
 /*!