summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lua/malloc.c6
-rw-r--r--apps/plugins/lua/rockmalloc.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/lua/malloc.c b/apps/plugins/lua/malloc.c
index 6dc00c4f9a..e96497e4bb 100644
--- a/apps/plugins/lua/malloc.c
+++ b/apps/plugins/lua/malloc.c
@@ -2155,7 +2155,7 @@ static void reset_on_error(mstate m);
2155 2155
2156/* -------------------------- Debugging setup ---------------------------- */ 2156/* -------------------------- Debugging setup ---------------------------- */
2157 2157
2158#if ! DEBUG 2158#ifndef DEBUG
2159 2159
2160#define check_free_chunk(M,P) 2160#define check_free_chunk(M,P)
2161#define check_inuse_chunk(M,P) 2161#define check_inuse_chunk(M,P)
@@ -2511,7 +2511,7 @@ static int change_mparam(int param_number, int value) {
2511 } 2511 }
2512} 2512}
2513 2513
2514#if DEBUG 2514#ifdef DEBUG
2515/* ------------------------- Debugging Support --------------------------- */ 2515/* ------------------------- Debugging Support --------------------------- */
2516 2516
2517/* Check properties of any chunk, whether free, inuse, mmapped etc */ 2517/* Check properties of any chunk, whether free, inuse, mmapped etc */
@@ -3995,7 +3995,7 @@ static void** ialloc(mstate m,
3995 } 3995 }
3996 } 3996 }
3997 3997
3998#if DEBUG 3998#ifdef DEBUG
3999 if (marray != chunks) { 3999 if (marray != chunks) {
4000 /* final element must have exactly exhausted chunk */ 4000 /* final element must have exactly exhausted chunk */
4001 if (element_size != 0) { 4001 if (element_size != 0) {
diff --git a/apps/plugins/lua/rockmalloc.h b/apps/plugins/lua/rockmalloc.h
index 46a943f59e..256c583e37 100644
--- a/apps/plugins/lua/rockmalloc.h
+++ b/apps/plugins/lua/rockmalloc.h
@@ -35,7 +35,7 @@
35#define HAVE_MREMAP 0 35#define HAVE_MREMAP 0
36#define NO_MALLINFO 1 36#define NO_MALLINFO 1
37#define ABORT ((void) 0) 37#define ABORT ((void) 0)
38#define DEBUG 0 38/* #define DEBUG */
39#define MORECORE rocklua_morecore 39#define MORECORE rocklua_morecore
40 40
41void *rocklua_morecore(int size); 41void *rocklua_morecore(int size);