libxml2 r3812 - in trunk: . include/libxml
- From: veillard svn gnome org
- To: svn-commits-list gnome org
- Subject: libxml2 r3812 - in trunk: . include/libxml
- Date: Sun, 18 Jan 2009 19:41:27 +0000 (UTC)
Author: veillard
Date: Sun Jan 18 19:41:26 2009
New Revision: 3812
URL: http://svn.gnome.org/viewvc/libxml2?rev=3812&view=rev
Log:
* include/libxml/xmlwin32version.h.in: windows header should
get the same define
Daniel
Modified:
trunk/ChangeLog
trunk/include/libxml/xmlwin32version.h.in
Modified: trunk/include/libxml/xmlwin32version.h.in
==============================================================================
--- trunk/include/libxml/xmlwin32version.h.in (original)
+++ trunk/include/libxml/xmlwin32version.h.in Sun Jan 18 19:41:26 2009
@@ -254,8 +254,18 @@
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
#endif
+#ifndef ATTRIBUTE_ALLOC_SIZE
+# if ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
+# define ATTRIBUTE_ALLOC_SIZE(x) __attribute__((alloc_size(x)))
+# else
+# define ATTRIBUTE_ALLOC_SIZE(x)
+# endif
+#else
+# define ATTRIBUTE_ALLOC_SIZE(x)
+#endif
#else
#define ATTRIBUTE_UNUSED
+#define ATTRIBUTE_ALLOC_SIZE(x)
#endif
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]