forked from len0rd/rockbox
lua: make DEBUG undefined by default, as doc states
use #ifdef / #ifndef and not #if / #if ! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27387 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c7c04eb5a9
commit
9122e525cc
2 changed files with 4 additions and 4 deletions
|
@ -2155,7 +2155,7 @@ static void reset_on_error(mstate m);
|
|||
|
||||
/* -------------------------- Debugging setup ---------------------------- */
|
||||
|
||||
#if ! DEBUG
|
||||
#ifndef DEBUG
|
||||
|
||||
#define check_free_chunk(M,P)
|
||||
#define check_inuse_chunk(M,P)
|
||||
|
@ -2511,7 +2511,7 @@ static int change_mparam(int param_number, int value) {
|
|||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
/* ------------------------- Debugging Support --------------------------- */
|
||||
|
||||
/* Check properties of any chunk, whether free, inuse, mmapped etc */
|
||||
|
@ -3995,7 +3995,7 @@ static void** ialloc(mstate m,
|
|||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
#ifdef DEBUG
|
||||
if (marray != chunks) {
|
||||
/* final element must have exactly exhausted chunk */
|
||||
if (element_size != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue