diff --git a/reactos/include/reactos/wine/winnt.h b/reactos/include/reactos/wine/winnt.h index 4bfa2e7761b..a2efb693b1d 100644 --- a/reactos/include/reactos/wine/winnt.h +++ b/reactos/include/reactos/wine/winnt.h @@ -23,6 +23,12 @@ #include_next +#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