Commit 1177ecf6 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(BYTES_USED): Put # at the beginning of line.

(emacs_blocked_malloc): Likewise.
parent d02eeab3
...@@ -214,9 +214,9 @@ display_malloc_warning () ...@@ -214,9 +214,9 @@ display_malloc_warning ()
} }
#ifdef DOUG_LEA_MALLOC #ifdef DOUG_LEA_MALLOC
#define BYTES_USED (mallinfo ().arena) # define BYTES_USED (mallinfo ().arena)
#else #else
#define BYTES_USED _bytes_used # define BYTES_USED _bytes_used
#endif #endif
/* Called if malloc returns zero */ /* Called if malloc returns zero */
...@@ -374,11 +374,11 @@ emacs_blocked_malloc (size) ...@@ -374,11 +374,11 @@ emacs_blocked_malloc (size)
BLOCK_INPUT; BLOCK_INPUT;
__malloc_hook = old_malloc_hook; __malloc_hook = old_malloc_hook;
#ifdef DOUG_LEA_MALLOC #ifdef DOUG_LEA_MALLOC
mallopt (M_TOP_PAD, malloc_hysteresis * 4096); mallopt (M_TOP_PAD, malloc_hysteresis * 4096);
#else #else
__malloc_extra_blocks = malloc_hysteresis; __malloc_extra_blocks = malloc_hysteresis;
#endif #endif
value = (void *) malloc (size); value = (void *) malloc (size);
__malloc_hook = emacs_blocked_malloc; __malloc_hook = emacs_blocked_malloc;
UNBLOCK_INPUT; UNBLOCK_INPUT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment