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:
parent
d4d4705780
commit
d032a5bc21
@ -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:
|
||||
|
@ -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
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user