mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-23 06:25:12 +00:00
compiler: drop ; after BUILD_BUG_ON
All users include the trailing ; anyway, let's require that - it seems cleaner. Backports commit f29831828441318c7916ae28e6e16e4a1c4a6795 from qemu
This commit is contained in:
parent
babf848b82
commit
beca05eb5f
|
@ -61,7 +61,7 @@ static union MSVC_FLOAT_HACK __NAN = {{0x00, 0x00, 0xC0, 0x7F}};
|
|||
#define cat(x,y) x ## y
|
||||
#define cat2(x,y) cat(x,y)
|
||||
#define QEMU_BUILD_BUG_ON(x) \
|
||||
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] QEMU_UNUSED_VAR;
|
||||
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] QEMU_UNUSED_VAR
|
||||
|
||||
#define GCC_FMT_ATTR(n, m)
|
||||
|
||||
|
|
Loading…
Reference in a new issue