1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-10 08:58:16 +03:00

windows header should get the same define Daniel

* include/libxml/xmlwin32version.h.in: windows header should
  get the same define
Daniel

svn path=/trunk/; revision=3812
This commit is contained in:
Daniel Veillard 2009-01-18 19:41:26 +00:00
parent d4d4705780
commit d032a5bc21
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Sun Jan 18 20:40:42 CET 2009 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlwin32version.h.in: windows header should
get the same define
Sun Jan 18 18:22:33 CET 2009 Daniel Veillard <daniel@veillard.com>
* include/libxml/xmlversion.h.in include/libxml/xmlmemory.h:

View File

@ -254,8 +254,18 @@ extern void xmlCheckVersion(int version);
#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
/*