summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPeter Maydell2016-02-23 12:58:02 +0100
committerPeter Maydell2016-02-23 13:43:04 +0100
commit79f56d82f805b170fa2be8c04b682117be56483f (patch)
treeba04445dde23c3ab68bfaed8bb6c0e5539e21643 /include/exec
parentcpu: Clean up includes (diff)
downloadqemu-79f56d82f805b170fa2be8c04b682117be56483f.tar.gz
qemu-79f56d82f805b170fa2be8c04b682117be56483f.tar.xz
qemu-79f56d82f805b170fa2be8c04b682117be56483f.zip
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. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions