virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON
commitdb5deef996e78f02e2fec0c2453de8d0db749832
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 10 Dec 2020 13:47:45 +0000 (10 17:47 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 17:52:10 +0000 (15 12:52 -0500)
tree7a0ed137c6b0d49dfdb79b601fdc66389b46b312
parent77d35c83d3bcabdc64e2e8a58d6ff0d546e65120
virtiofsd: replace _Static_assert with QEMU_BUILD_BUG_ON

This allows to get rid of a check for older GCC version (which was a bit
bogus too since it was falling back on c++ version..)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20201210134752.780923-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/virtiofsd/fuse_common.h