Index: glib/gmacros.h
===================================================================
--- glib/gmacros.h	(révision 6419)
+++ glib/gmacros.h	(copie de travail)
@@ -88,6 +88,13 @@
 #define G_GNUC_NO_INSTRUMENT
 #endif  /* !__GNUC__ */
 
+#if     __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 6)
+#define G_GNUC_PACKED \
+  __attribute__((__packed__))
+#else
+#define G_GNUC_PACKED
+#endif  /* !__GNUC__ */
+
 #if    __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
 #define G_GNUC_DEPRECATED                            \
   __attribute__((__deprecated__))
Index: docs/reference/glib/tmpl/macros_misc.sgml
===================================================================
--- docs/reference/glib/tmpl/macros_misc.sgml	(révision 6419)
+++ docs/reference/glib/tmpl/macros_misc.sgml	(copie de travail)
@@ -340,6 +340,17 @@ Since: 2.6
 
 
 
+<!-- ##### MACRO G_GNUC_PACKED ##### -->
+<para>
+Expands to the GNU C <literal>packed</literal>
+attribute if the compiler is <command>gcc</command>.
+See the GNU C documentation for details. 
+</para>
+
+Since: 2.16
+
+
+
 <!-- ##### FUNCTION G_LIKELY ##### -->
 <para>
 Hints the compiler that the expression is likely to evaluate to a true
