From b075dc7c00e154bfc3c92aca4f24db68997e8a21 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Tue, 25 Oct 2016 23:40:34 +0200 Subject: malloc is redefined by config.h But we need to define emacs as preprocessor symbol, not just EMACS. --- lib/libtask/taskimpl.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/libtask') diff --git a/lib/libtask/taskimpl.h b/lib/libtask/taskimpl.h index 2b1dd8f9f5e..2b1e31cfc7b 100644 --- a/lib/libtask/taskimpl.h +++ b/lib/libtask/taskimpl.h @@ -212,13 +212,3 @@ void deltask(Tasklist*, Task*); extern Task *taskrunning; extern int taskcount; - - -#ifdef EMACS -#define malloc unexec_malloc -#define realloc unexec_realloc -#define free unexec_free -void *unexec_malloc (size_t size); -void *unexec_realloc (void *old_ptr, size_t new_size); -void unexec_free (void *ptr); -#endif -- cgit v1.2.1