diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2004-12-07 21:03:04 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2004-12-07 21:03:04 +0000 |
commit | cf435f39ceb1d6c59d314068e02203b6477f1c2a (patch) | |
tree | 3e3c677fbaa4518c21b00859886e8b4b0a9e98a8 /src/emacs.c | |
parent | f415cacdbd53833dff84f8666dcbcb7035fb9320 (diff) | |
download | emacs-cf435f39ceb1d6c59d314068e02203b6477f1c2a.tar.gz |
* 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.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index b6b7f986e94..8e2443e8f1f 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -2238,7 +2238,7 @@ You must run Emacs in batch mode in order to dump it. */) memory_warnings (my_edata, malloc_warning); #endif /* not WINDOWSNT */ #endif -#ifdef HAVE_GTK_AND_PTHREAD +#if ! defined (SYSTEM_MALLOC) && defined (HAVE_GTK_AND_PTHREAD) /* Pthread may call malloc before main, and then we will get an endless loop, because pthread_self (see alloc.c) calls malloc the first time it is called on some systems. */ |