[XDK] Some GCC/wine compatibility fixes

This commit is contained in:
Timo Kreuzer 2025-05-10 11:05:36 +03:00
parent 8369c55edb
commit 06034b258a
2 changed files with 6 additions and 2 deletions

View file

@ -79,9 +79,9 @@
/*#ifdef _WINE*/
#if defined(__GNUC__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)))
# define __WINE_ALLOC_SIZE(x) __attribute__((__alloc_size__(x)))
# define __WINE_ALLOC_SIZE(...) __attribute__((__alloc_size__(__VA_ARGS__)))
#else
# define __WINE_ALLOC_SIZE(x)
# define __WINE_ALLOC_SIZE(...)
#endif
/*#endif*/