[commits] [batmand] master: Fix preprocessor check for defined DEBUG_MALLOC && MEMORY_USAGE (78f39a2)

postmaster at open-mesh.org postmaster at open-mesh.org
Sun Sep 15 17:49:40 CEST 2013


Repository : ssh://git@open-mesh.org/batmand

On branch  : master

>---------------------------------------------------------------

commit 78f39a295d17ba07a2537fd711d1050097988e9c
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sun Sep 15 17:47:25 2013 +0200

    Fix preprocessor check for defined DEBUG_MALLOC && MEMORY_USAGE
    
    Signed-off-by: Sven Eckelmann <sven at narfation.org>


>---------------------------------------------------------------

78f39a295d17ba07a2537fd711d1050097988e9c
 batman.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/batman.c b/batman.c
index 39ef9be..89b3bf1 100644
--- a/batman.c
+++ b/batman.c
@@ -47,7 +47,7 @@ uint8_t debug_level = 0;
 
 uint8_t debug_level_max = 5;
 
-#elif DEBUG_MALLOC && MEMORY_USAGE
+#elif defined DEBUG_MALLOC && defined MEMORY_USAGE
 
 uint8_t debug_level_max = 5;
 



More information about the commits mailing list