This enables the format attribute in Clang builds.
From: Jacek Caban jacek@codeweavers.com
This enables the format attribute in Clang builds. --- dlls/wined3d/wined3d_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index c7d0a287786..275ed80b43d 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -4212,8 +4212,8 @@ static inline void wined3d_lock_cleanup(CRITICAL_SECTION *lock) DeleteCriticalSection(lock); }
-#ifdef __GNUC__ -#define PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args))) +#ifdef __WINE_CRT_PRINTF_ATTR +#define PRINTF_ATTR(fmt,args) __WINE_CRT_PRINTF_ATTR(fmt, args) #else #define PRINTF_ATTR(fmt,args) #endif
This merge request was approved by Elizabeth Figura.
This merge request was approved by Jan Sikorski.