Author: cwittich Date: Wed Sep 10 01:52:51 2008 New Revision: 36103
URL: http://svn.reactos.org/svn/reactos?rev=36103&view=rev Log: add WINE_ALLOC_SIZE macro
Modified: trunk/reactos/include/reactos/wine/winnt.h
Modified: trunk/reactos/include/reactos/wine/winnt.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/wine/winnt.... ============================================================================== --- trunk/reactos/include/reactos/wine/winnt.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/wine/winnt.h [iso-8859-1] Wed Sep 10 01:52:51 2008 @@ -22,6 +22,12 @@ #define __WINE_WINNT_H
#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