diff options
Diffstat (limited to 'src/ralloc.c')
-rw-r--r-- | src/ralloc.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ralloc.c b/src/ralloc.c index c8db91f2b8f..66ea2ec4119 100644 --- a/src/ralloc.c +++ b/src/ralloc.c @@ -26,11 +26,9 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ #include <stddef.h> -#ifdef emacs -# include "lisp.h" -# include "blockinput.h" -# include <unistd.h> -#endif +#include "lisp.h" +#include "blockinput.h" +#include <unistd.h> #include "getpagesize.h" @@ -924,9 +922,7 @@ r_alloc_free (void **ptr) free_bloc (dead_bloc); *ptr = 0; -#ifdef emacs refill_memory_reserve (); -#endif } /* Given a pointer at address PTR to relocatable data, resize it to SIZE. @@ -1000,7 +996,7 @@ r_re_alloc (void **ptr, size_t size) } -#if defined (emacs) && defined (DOUG_LEA_MALLOC) +#ifdef DOUG_LEA_MALLOC /* Reinitialize the morecore hook variables after restarting a dumped Emacs. This is needed when using Doug Lea's malloc from GNU libc. */ |