Use _Static_assert and static_assert primitives when present on clang.
commita0cd089f1f7192e3cf6157bfb4f2866878e03eec
authorBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 16:59:14 +0000 (16 18:59 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 16:59:14 +0000 (16 18:59 +0200)
treeabb651fd188c095b6891c37e5ae033c62da4de4d
parent869cb2ad5f52a556dde0e88bf0ccc09985883003
Use _Static_assert and static_assert primitives when present on clang.

* lib/cdefs.h (_Static_assert): Don't define as a macro on clang.
* lib/verify.h (_GL_HAVE__STATIC_ASSERT, _GL_HAVE__STATIC_ASSERT1,
_GL_HAVE_STATIC_ASSERT1): Define as appropriate on clang.
ChangeLog
lib/cdefs.h
lib/verify.h