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
..
atomic128.h tcg: add early clober modifier in atomic16_cmpxchg on aarch64 2019-02-07 08:58:53 -05:00
atomic.h atomics: Set ATOMIC_REG_SIZE=8 for MIPS n32 2019-01-05 07:26:14 -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
crc32.h target/arm: Handle AArch32 CRC instructions 2019-04-27 10:50:25 -04:00
crc32c.h
cutils.h cutils: Fix qemu_strtosz() & friends to reject non-finite sizes 2018-12-18 04:48:12 -05:00
fprintf-fn.h
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
mmap-alloc.h mmap-alloc: fix hugetlbfs misaligned length in ppc64 2019-02-05 16:52:39 -05:00
module.h
osdep.h osdep: Fix mingw compilation regarding stdio formats 2019-05-09 17:44:14 -04:00
queue.h
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
thread-posix.h
thread-win32.h
thread.h
timer.h
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