_Static_assert needs two arguments for compatibility with GCC before 9
authorFlorian Weimer <fweimer@redhat.com>
Fri, 10 Sep 2021 11:18:36 +0000 (13:18 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 10 Sep 2021 11:18:36 +0000 (13:18 +0200)
commitc9fef4b7d1d0f2dad192c74f06102752247677a9
tree4fa2fad11e23962a872e08a4251017c464eef83c
parent27ae52e4d149fc2dc5ef109426753ad3d5126582
_Static_assert needs two arguments for compatibility with GCC before 9

This macro definition enforces two arguments even with newer compilers
that accept the single-argument form, too.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
include/sys/cdefs.h