--- glib/gmacros.h      8 Mar 2005 05:41:42 -0000       1.26
+++ glib/gmacros.h      21 Nov 2005 02:17:18 -0000
@@ -57,6 +57,12 @@
 #define G_GNUC_MALLOC
 #endif

+#if    __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)
+#define G_GNUC_NON_NULL __attribute__((__nonnull__))
+#else
+#define G_GNUC_NON_NULL
+#endif
+
 #if     __GNUC__ >= 4
 #define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
 #else

