unicorn/qemu/include/qemu
Cao Jiaxi bcb1270f23
osdep: Fix mingw compilation regarding stdio formats
I encountered the following compilation error on mingw:

/mnt/d/qemu/include/qemu/osdep.h:97:9: error: '__USE_MINGW_ANSI_STDIO' macro redefined [-Werror,-Wmacro-redefined]
\#define __USE_MINGW_ANSI_STDIO 1
^
/mnt/d/llvm-mingw/aarch64-w64-mingw32/include/_mingw.h:433:9: note: previous definition is here
\#define __USE_MINGW_ANSI_STDIO 0 /* was not defined so it should be 0 */

It turns out that __USE_MINGW_ANSI_STDIO must be set before any
system headers are included, not just before stdio.h.

Backports commit 946376c21be1cd9dcc3c7936b204b113781603f7 from qemu
2019-05-09 17:44:14 -04:00
..
atomic.h atomics: Set ATOMIC_REG_SIZE=8 for MIPS n32 2019-01-05 07:26:14 -05:00
atomic128.h tcg: add early clober modifier in atomic16_cmpxchg on aarch64 2019-02-07 08:58:53 -05:00
bitmap.h qemu: Update bitmap.c/.h 2019-04-26 13:05:55 -04:00
bitops.h i386: Fix up the Node id for CPUID_8000_001E 2018-07-03 00:31:38 -04:00
bswap.h cpu_ldst.h, cpu-all.h, bswap.h: Update documentation on ld/st accessors 2019-04-22 07:39:13 -04:00
compiler.h qemu/compiler: Include <intrin.h> on MSVC 2019-01-30 13:25:26 -05:00
cpuid.h util: Introduce include/qemu/cpuid.h 2018-03-09 12:12:00 -05:00
crc32.h target/arm: Handle AArch32 CRC instructions 2019-04-27 10:50:25 -04:00
crc32c.h import 2015-08-21 15:04:50 +08:00
cutils.h cutils: Fix qemu_strtosz() & friends to reject non-finite sizes 2018-12-18 04:48:12 -05:00
fprintf-fn.h Clean up decorations and whitespace around header guards 2018-02-25 04:26:02 -05:00
host-utils.h qemu/host-utils: Handle ctpop8/16/32/64 on MSVC 2019-01-30 13:29:58 -05:00
int128.h qemu/int128: Disable assert in int128.h 2018-09-03 09:54:59 -04:00
log.h tcg: Optionally log FPU state in TCG -d cpu logging 2018-05-15 22:31:08 -04:00
mmap-alloc.h mmap-alloc: fix hugetlbfs misaligned length in ppc64 2019-02-05 16:52:39 -05:00
module.h cleanup qemu/include/qemu/module.h 2017-01-25 00:20:08 +08:00
osdep.h osdep: Fix mingw compilation regarding stdio formats 2019-05-09 17:44:14 -04:00
queue.h tcg: Dynamically allocate TCGOps 2018-03-05 16:34:40 -05:00
range.h Don't talk about the LGPL if the file is licensed under the GPL 2019-02-03 17:55:28 -05:00
sys_membarrier.h membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00
thread-posix.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
thread-win32.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
thread.h Clean up ill-advised or unusual header guards 2018-02-25 04:22:46 -05:00
timer.h Drop remaining bits of ia64 host support 2018-03-09 11:54:57 -05:00
typedefs.h move ObjectClass to typedefs.h 2018-12-11 20:37:04 -05:00
units.h include: Add IEC binary prefixes in qemu/units.h 2018-07-03 19:47:19 -04:00
xxhash.h xxhash: match output against the original xxhash32 2018-12-18 06:09:01 -05:00