diff options
author | beber <beber> | 2005-12-07 09:58:57 +0000 |
---|---|---|
committer | beber <beber> | 2005-12-07 09:58:57 +0000 |
commit | 9465719c467f63327a72864af448fd4c2e10009d (patch) | |
tree | 81793459fa9a2c5148c28b4f636ec4c34b1bae3b | |
parent | update macro, one line shot (diff) | |
download | espik-9465719c467f63327a72864af448fd4c2e10009d.tar.xz |
this sumplier macro doesn't work
-rw-r--r-- | src/espik_debug.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/espik_debug.h b/src/espik_debug.h index 06514b4..a3ad93c 100644 --- a/src/espik_debug.h +++ b/src/espik_debug.h @@ -6,15 +6,15 @@ #ifdef __GNUC__ #define espik_debug_print(fmt, ...) \ { \ - fprintf (stdout, "%s+%i @%s: '"fmt"'\n", __FILE__, __LINE__, __func__, ...,); \ -/* fprintf (stdout, fmt, __VA_ARGS__); \ - fprintf (stdout, "'\n"); \ */ + fprintf (stdout, "%s+%i @%s: '", __FILE__, __LINE__, __func__); \ + fprintf (stdout, fmt, __VA_ARGS__); \ + fprintf (stdout, "'\n"); \ } #else #define espik_debug_print(fmt, ...) \ { \ } -#endif /* __GNUC__ */ +#endif /* __GNUC__ */ inline void espik_bt (void); void espik_debug_init(); |