diff src/keyboard.c @ 58832:9f7c2511d457

* emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around reset_malloc_hooks. * keyboard.c (handle_async_input, input_available_signal): Add ! defined (SYSTEM_MALLOC) around thread code.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 07 Dec 2004 21:03:04 +0000
parents f8cddae7d959
children cf6107ab7096 5e454dd0d649 f2ebccfa87d4
line wrap: on
line diff
--- a/src/keyboard.c	Tue Dec 07 17:38:30 2004 +0000
+++ b/src/keyboard.c	Tue Dec 07 21:03:04 2004 +0000
@@ -6780,7 +6780,7 @@
 #ifdef BSD4_1
   extern int select_alarmed;
 #endif
-#ifdef HAVE_GTK_AND_PTHREAD
+#if ! defined (SYSTEM_MALLOC) && defined (HAVE_GTK_AND_PTHREAD)
   extern pthread_t main_thread;
   if (pthread_self () != main_thread)
     {
@@ -6826,7 +6826,7 @@
 {
   /* Must preserve main program's value of errno.  */
   int old_errno = errno;
-#ifdef HAVE_GTK_AND_PTHREAD
+#if ! defined (SYSTEM_MALLOC) && defined (HAVE_GTK_AND_PTHREAD)
   extern pthread_t main_thread;
   if (pthread_self () != main_thread)
     {