From 6eb509beb223cbbb8978b458b35e1ad095a9342c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?ChangZhuo=20Chen=20=28=E9=99=B3=E6=98=8C=E5=80=AC=29?= Date: Fri, 4 Jul 2014 18:26:32 +0800 Subject: [PATCH] Use ##__VA_ARGS__ to avoid build fail --- include/r3_define.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/r3_define.h b/include/r3_define.h index 3176cff..6951b4d 100644 --- a/include/r3_define.h +++ b/include/r3_define.h @@ -23,7 +23,7 @@ typedef unsigned char bool; #ifdef DEBUG #define info(fmt, ...) \ - do { fprintf(stderr, fmt, __VA_ARGS__); } while (0) + do { fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) #define debug(fmt, ...) \ do { fprintf(stderr, "%s:%d:%s(): " fmt, __FILE__, \