add WINE_ALLOC_SIZE macro

svn path=/trunk/; revision=36103
This commit is contained in:
Christoph von Wittich 2008-09-10 06:52:51 +00:00
parent fb2ce23113
commit 775ec21204

View file

@ -23,6 +23,12 @@
#include_next <winnt.h>
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
#define __WINE_ALLOC_SIZE(x) __attribute__((__alloc_size__(x)))
#else
#define __WINE_ALLOC_SIZE(x)
#endif
/* non standard; keep the number high enough (but < 0xff) */
#define LANG_ESPERANTO 0x8f
#define LANG_WALON 0x90