]> git.proxmox.com Git - grub2.git/blobdiff - include/grub/zfs/zio.h
Add gcc_struct to all packed structures when compiling with mingw.
[grub2.git] / include / grub / zfs / zio.h
index 8fad2cc09b780e549c911b28dde4376e246b4437..19ce136bb9bd4ed5046be3afbddd557a2cbbf43d 100644 (file)
@@ -30,7 +30,7 @@
 typedef struct zio_eck {
        grub_uint64_t   zec_magic;      /* for validation, endianness   */
        zio_cksum_t     zec_cksum;      /* 256-bit checksum             */
-} __attribute__ ((packed)) zio_eck_t;
+} GRUB_PACKED zio_eck_t;
 
 /*
  * Gang block headers are self-checksumming and contain an array