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