Commit 6895470a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

include: Don't use the printf format attribute when compiling against msvcrt and…

include: Don't use the printf format attribute when compiling against msvcrt and not cross-compiling. Since it will spit out bogus warnings in the case we use Microsoft-specific extensions. Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 56995dd3
......@@ -88,7 +88,11 @@ struct __wine_debug_channel
#define __WINE_DBG_LOG(args...) \
wine_dbg_log( __dbcl, __dbch, __FUNCTION__, args); } } while(0)
#if !defined(__WINE_USE_MSVCRT) || defined(__MINGW32__)
#define __WINE_PRINTF_ATTR(fmt,args) __attribute__((format (printf,fmt,args)))
#else
#define __WINE_PRINTF_ATTR(fmt,args)
#endif
#ifdef WINE_NO_TRACE_MSGS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment