Replace GNU-specific ##__VA_ARGS__ with __VA_OPT__
This commit is contained in:
parent
379b1e53a0
commit
9c76feb150
1 changed files with 1 additions and 1 deletions
|
|
@ -25,4 +25,4 @@ namespace psemek::bt
|
|||
|
||||
}
|
||||
|
||||
#define bt_assert(cond, ...) (void)(!(cond) && ::psemek::bt::assertion_failed("BT assertion failed: ", #cond, " ", ##__VA_ARGS__, " (", __FILE__, ":", __LINE__, ")"))
|
||||
#define bt_assert(cond, ...) (void)(!(cond) && ::psemek::bt::assertion_failed("BT assertion failed: ", #cond, " " __VA_OPT__(,) __VA_ARGS__, " (", __FILE__, ":", __LINE__, ")"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue