[libdvdnav-devel] Force gcc-style packing

Jean-Baptiste Kempf git at videolan.org
Thu Aug 28 08:56:27 CEST 2014


libdvdread | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 28 08:50:29 2014 +0200| [874873d654fc523a2fa45af2abe2cf69599412af] | committer: Jean-Baptiste Kempf

Force gcc-style packing

> http://git.videolan.org/gitweb.cgi/libdvdread.git/?a=commit;h=874873d654fc523a2fa45af2abe2cf69599412af
---

 src/dvdread/ifo_types.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dvdread/ifo_types.h b/src/dvdread/ifo_types.h
index aa4c9d3..10bdab5 100644
--- a/src/dvdread/ifo_types.h
+++ b/src/dvdread/ifo_types.h
@@ -32,7 +32,7 @@
 
 #if defined(__GNUC__)
 #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
-#define ATTRIBUTE_PACKED __attribute__ ((packed))
+#define ATTRIBUTE_PACKED __attribute__ ((packed,gcc_struct))
 #define PRAGMA_PACK 0
 #endif
 #endif



More information about the libdvdnav-devel mailing list