]> git.proxmox.com Git - mirror_qemu.git/blobdiff - compiler.h
pc: Disable HPET for ISA machine
[mirror_qemu.git] / compiler.h
index 9af5dc6c91dc7315559449589d3209488c07e2f5..a2d5959e4b86e539313b37e82c7bb8d75b6dc00e 100644 (file)
 #define QEMU_WARN_UNUSED_RESULT
 #endif
 
+#if defined(_WIN32)
+# define QEMU_PACKED __attribute__((gcc_struct, packed))
+#else
+# define QEMU_PACKED __attribute__((packed))
+#endif
+
 #define QEMU_BUILD_BUG_ON(x) \
     typedef char qemu_build_bug_on__##__LINE__[(x)?-1:1];