forked from Lephenixnoir/fxsdk
fxos: don't assume __VA_OPT__ is supported
This commit is contained in:
parent
9be34ef9e5
commit
ab3a9cd274
|
@ -58,6 +58,6 @@ void err_pop(void);
|
|||
void errf(int flags, char const *str, ...);
|
||||
|
||||
/* err(): Short error function */
|
||||
#define err(str, ...) errf(0, str __VA_OPT__(,) __VA_ARGS__)
|
||||
#define err(str, ...) errf(0, str, ##__VA_ARGS__)
|
||||
|
||||
#endif /* FXOS_ERRORS */
|
||||
|
|
Loading…
Reference in New Issue