aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.h b/common.h
index 6b2e92d..aa99e32 100644
--- a/common.h
+++ b/common.h
@@ -12,10 +12,10 @@ int get_int(const char* string);
#define STR_LINE STRING(__LINE__)
/* </ew> */
-#define info(format, ...) printf("INFO : "__FILE__"@%s():"STR_LINE": "format, __func__ __VA_OPT__(,) __VA_ARGS__)
+#define info(format, ...) printf("INFO : "__FILE__"@%s:"STR_LINE": "format, __func__, ##__VA_ARGS__)
#ifdef DEBUG
-#define debug(format, ...) fprintf(stderr, "DEBUG: "__FILE__"@%s():"STR_LINE": "format, __func__ __VA_OPT__(,) __VA_ARGS__)
+#define debug(format, ...) fprintf(stderr, "DEBUG: "__FILE__"@%s:"STR_LINE": "format, __func__, ##__VA_ARGS__)
#else
#define debug(...)
#endif