summaryrefslogtreecommitdiff
path: root/lib/libXvMC
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-01-30 13:21:14 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2020-01-30 13:21:14 +0000
commit4d11554966fe5bb3e16ac17581390fd8c985eecf (patch)
tree95868d45569367662827cb0ffe80eb1150699bec /lib/libXvMC
parent38e3d39f2648f18273788d9a7eac240ab50521db (diff)
Better checks for static_assert availability
When not in c++ or c11 mode: - check for _Static_assert support in clang with __has_extension - gcc implements _Static_assert starting with 4.6.0 - as a fallback, use a forward decl instead of ((void)0) so that static_assert can be used at file scope (scope issue pointed out by guenther@) ok jsg@
Diffstat (limited to 'lib/libXvMC')
0 files changed, 0 insertions, 0 deletions