fxos: don't assume __VA_OPT__ is supported

This commit is contained in:
Lephe 2019-06-29 12:01:33 -04:00
parent 9be34ef9e5
commit ab3a9cd274

View file

@ -58,6 +58,6 @@ void err_pop(void);
void errf(int flags, char const *str, ...); void errf(int flags, char const *str, ...);
/* err(): Short error function */ /* 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 */ #endif /* FXOS_ERRORS */