From 0691e6e4cee6f0e54b432fbf0e478d699e964eaf Mon Sep 17 00:00:00 2001 From: Jonathan Beck Date: Sat, 25 Oct 2008 17:29:29 +0200 Subject: add an option to strip off debug code --- src/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index e54403b..049777a 100644 --- a/src/utils.c +++ b/src/utils.c @@ -39,7 +39,7 @@ void iphone_set_debug(int level) void log_debug_msg(const char *format, ...) { -#ifndef STRIP_DEBUG +#ifndef STRIP_DEBUG_CODE va_list args; /* run the real fprintf */ @@ -55,7 +55,7 @@ void log_debug_msg(const char *format, ...) inline void log_debug_buffer(const char *data, const int length) { -#ifndef STRIP_DEBUG +#ifndef STRIP_DEBUG_CODE /* run the real fprintf */ if (toto_debug) @@ -66,7 +66,7 @@ inline void log_debug_buffer(const char *data, const int length) inline void dump_debug_buffer(const char *file, const char *data, const int length) { -#ifndef STRIP_DEBUG +#ifndef STRIP_DEBUG_CODE /* run the real fprintf */ if (toto_debug) { -- cgit v1.1-32-gdbae