mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add `STATIC_ASSERT` macro that uses `_Static_assert` if available (was introduced with gcc 4.6, see https://gcc.gnu.org/wiki/C11Status). For example, this could be used for the verification of structure sizes at compile time. Acked-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>