make the macro more cross-compiler friendly
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
#define error(ret, s, ...) \
|
#define error(ret, s, ...) \
|
||||||
do { \
|
do { \
|
||||||
fprintf(stderr, (s), ##__VA_ARGS__); \
|
fprintf(stderr, (s)__VA_OPT__(, __VA_ARGS__)); \
|
||||||
exit(ret); \
|
exit(ret); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user