diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2017-01-31 16:29:51 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-02-01 03:37:17 +0200 |
commit | 60abf0a5e05134187e274ce5f32524ccf0cae1a6 (patch) | |
tree | 0039235376ddce1664c77e6425177138c3b8449e /qapi | |
parent | 32f825dece6482297fc1b9b0e3bf31424529688a (diff) | |
download | qemu-60abf0a5e05134187e274ce5f32524ccf0cae1a6.zip qemu-60abf0a5e05134187e274ce5f32524ccf0cae1a6.tar.gz qemu-60abf0a5e05134187e274ce5f32524ccf0cae1a6.tar.bz2 |
QEMU_BUILD_BUG_ON: use __COUNTER__
Some headers use QEMU_BUILD_BUG_ON. This causes a problem
if the C file including that header happens to have
QEMU_BUILD_BUG_ON at the same line number.
Fix using a widely available extension: __COUNTER__.
If unavailable, provide a stub.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'qapi')
0 files changed, 0 insertions, 0 deletions