diff options
| -rw-r--r-- | src/debug.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index f58ece7..26a9678 100644 --- a/src/debug.c +++ b/src/debug.c | |||
| @@ -46,6 +46,7 @@ void idevice_set_debug_level(int level) | |||
| 46 | debug_level = level; | 46 | debug_level = level; |
| 47 | } | 47 | } |
| 48 | 48 | ||
| 49 | #ifndef STRIP_DEBUG_CODE | ||
| 49 | static void debug_print_line(const char *func, const char *file, int line, const char *buffer) | 50 | static void debug_print_line(const char *func, const char *file, int line, const char *buffer) |
| 50 | { | 51 | { |
| 51 | char *str_time = NULL; | 52 | char *str_time = NULL; |
| @@ -73,6 +74,7 @@ static void debug_print_line(const char *func, const char *file, int line, const | |||
| 73 | 74 | ||
| 74 | free (header); | 75 | free (header); |
| 75 | } | 76 | } |
| 77 | #endif | ||
| 76 | 78 | ||
| 77 | inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...) | 79 | inline void debug_info_real(const char *func, const char *file, int line, const char *format, ...) |
| 78 | { | 80 | { |
