1
0
Fork 0
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:
Rafaël Carré 2010-07-11 16:46:45 +00:00
parent c7c04eb5a9
commit 9122e525cc
2 changed files with 4 additions and 4 deletions

View file

@ -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) {