Revision 0f7fdd34
b/compiler.h | ||
---|---|---|
12 | 12 |
#define QEMU_WARN_UNUSED_RESULT |
13 | 13 |
#endif |
14 | 14 |
|
15 |
#if defined(_WIN32) |
|
16 |
# define QEMU_PACKED __attribute__((gcc_struct, packed)) |
|
17 |
#else |
|
18 |
# define QEMU_PACKED __attribute__((packed)) |
|
19 |
#endif |
|
20 |
|
|
15 | 21 |
#define QEMU_BUILD_BUG_ON(x) \ |
16 | 22 |
typedef char qemu_build_bug_on__##__LINE__[(x)?-1:1]; |
17 | 23 |
|
Also available in: Unified diff