]> git.proxmox.com Git - grub2.git/blobdiff - util/grub-mkstandalone.c
Add gcc_struct to all packed structures when compiling with mingw.
[grub2.git] / util / grub-mkstandalone.c
index 6ee5e588a966879b34f65f6e65f771b4f7c566f2..4b0464cc28535cf1dfaf376ba9f45b4d087eee9f 100644 (file)
@@ -132,7 +132,7 @@ struct head
   char devminor[8];
   char prefix[155];
   char pad[12];
-} __attribute__ ((packed));
+} GRUB_PACKED;
 
 static void
 write_zeros (unsigned rsz)