aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/alloc.c b/src/alloc.c
index b1d3f2e6511..57ef4c5deab 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -22,10 +22,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
22 22
23#include <stdio.h> 23#include <stdio.h>
24#include <limits.h> /* For CHAR_BIT. */ 24#include <limits.h> /* For CHAR_BIT. */
25 25#include <signal.h> /* For SIGABRT, SIGDANGER. */
26#ifdef ENABLE_CHECKING
27#include <signal.h> /* For SIGABRT. */
28#endif
29 26
30#ifdef HAVE_PTHREAD 27#ifdef HAVE_PTHREAD
31#include <pthread.h> 28#include <pthread.h>
@@ -565,6 +562,8 @@ static struct Lisp_Finalizer doomed_finalizers;
565 Malloc 562 Malloc
566 ************************************************************************/ 563 ************************************************************************/
567 564
565#if defined SIGDANGER || (!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC)
566
568/* Function malloc calls this if it finds we are near exhausting storage. */ 567/* Function malloc calls this if it finds we are near exhausting storage. */
569 568
570void 569void
@@ -573,6 +572,7 @@ malloc_warning (const char *str)
573 pending_malloc_warning = str; 572 pending_malloc_warning = str;
574} 573}
575 574
575#endif
576 576
577/* Display an already-pending malloc warning. */ 577/* Display an already-pending malloc warning. */
578 578