summaryrefslogtreecommitdiffstats
path: root/hw/ioapic.c
diff options
context:
space:
mode:
authorDong Xu Wang2011-12-20 10:03:47 +0100
committerKevin Wolf2012-02-09 16:17:51 +0100
commitea8f978ffef325ab2fd0edcf5f24b6dcec6078f3 (patch)
tree78017a8c65b689b396d408977a1d2b5b5692b54a /hw/ioapic.c
parentqcow2: Keep unknown header extension when rewriting header (diff)
downloadqemu-ea8f978ffef325ab2fd0edcf5f24b6dcec6078f3.tar.gz
qemu-ea8f978ffef325ab2fd0edcf5f24b6dcec6078f3.tar.xz
qemu-ea8f978ffef325ab2fd0edcf5f24b6dcec6078f3.zip
rewrite QEMU_BUILD_BUG_ON
On some platforms, __LINE__ will not expand to real number in QEMU_BUILD_BUG_ON, so if using QEMU_BUILD_BUG_ON twice, compiler will report errors. This patch will fix it. BTW, I got error message on RHEL 6.1/gcc 4.4.5. Signed-off-by: Dong Xu Wang <wdongxu@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ioapic.c')
0 files changed, 0 insertions, 0 deletions