diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/espik_debug.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/espik_debug.h b/src/espik_debug.h index d41eec4..19f0746 100644 --- a/src/espik_debug.h +++ b/src/espik_debug.h @@ -7,12 +7,12 @@ #define DEBUG_ENTLEV_FILENO stderr #if defined (_ESPIK_DEBUG_) && defined (__GNUC__) -#define espik_debug_print(fmt, ...) \ -{ \ - fprintf (DEBUG_PRINT_FILENO, "%s +%i @%s: '", __FILE__, __LINE__, \ - __func__); \ - fprintf (DEBUG_PRINT_FILENO, fmt, ##__VA_ARGS__); \ - fprintf (DEBUG_PRINT_FILENO, "'\n"); \ +#define espik_debug_print(fmt, ...) \ +{ \ + fprintf (DEBUG_PRINT_FILENO, "%s +%i @%s: '", __FILE__, __LINE__, \ + __func__); \ + fprintf (DEBUG_PRINT_FILENO, fmt, ##__VA_ARGS__); \ + fprintf (DEBUG_PRINT_FILENO, "'\n"); \ } #else #define espik_debug_print(fmt, ...) \ |