tools/virtio: define aligned attribute

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2020-04-06 12:17:55 -04:00
parent 3302363a27
commit 6bd6b282d0
1 changed files with 1 additions and 0 deletions

View File

@ -7,4 +7,5 @@
#define READ_ONCE(var) (*((volatile typeof(var) *)(&(var))))
#define __aligned(x) __attribute((__aligned__(x)))
#endif