unicorn/qemu/include
Peter Maydell c41bb9a772
osdep.h: Define macros for the benefit of C++ before C++11
For C++ before C++11, <stdint.h> requires definition of the macros
__STDC_CONSTANT_MACROS, __STDC_LIMIT_MACROS and __STDC_FORMAT_MACROS
in order to enable definition of various macros by the header file.
Define these in osdep.h, so that we get the right header file
definitions whether osdep.h is being used by plain C, C++11 or
older C++.

In particular libvixl's header files depend on this and won't
compile if osdep.h is included before them otherwise.

Backports commit 79f56d82f805b170fa2be8c04b682117be56483f from qemu
2018-02-20 19:09:58 -05:00
..
crypto Drop unused crypto source files 2018-02-17 15:23:57 -05:00
exec include: Move RAMList to ramlist.h 2018-02-20 08:47:51 -05:00
fpu fpu: Remove use of int_fast16_t in conversions to int16 2018-02-20 16:54:04 -05:00
hw include: Add stubbed xen function 2018-02-20 08:29:58 -05:00
qapi qapi: Don't box branches of flat unions 2018-02-20 16:44:55 -05:00
qemu osdep.h: Define macros for the benefit of C++ before C++11 2018-02-20 19:09:58 -05:00
qom qom: Correct object_property_get_int() description 2018-02-20 11:52:16 -05:00
sysemu oslib-win32: Change return type of function getpagesize 2018-02-17 19:10:37 -05:00
config.h import 2015-08-21 15:04:50 +08:00
elf.h fix merge conflicts 2017-03-10 21:04:33 +08:00
glib_compat.h crypto: introduce new module for computing hash digests 2018-02-17 15:23:17 -05:00
qemu-common.h osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h 2018-02-17 20:47:28 -05:00