mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-05-06 10:12:17 +00:00
There are theoretical concerns that some compilers might not trigger build failures on attempts to define an array of size (x ? -1 : 1) where x is a variable and make it a variable sized array instead. Let rewrite using a struct with a negative bit field size instead as there are no dynamic bit field sizes. This is similar to what Linux does. Backports commit f291887e8eef5d37d31484638f6e62401b4b99a2 from qemu |
||
---|---|---|
.. | ||
atomic.h | ||
bitmap.h | ||
bitops.h | ||
bswap.h | ||
compiler.h | ||
crc32c.h | ||
cutils.h | ||
fprintf-fn.h | ||
host-utils.h | ||
int128.h | ||
log.h | ||
mmap-alloc.h | ||
module.h | ||
osdep.h | ||
queue.h | ||
range.h | ||
thread-posix.h | ||
thread-win32.h | ||
thread.h | ||
timer.h | ||
typedefs.h |