mirror of https://code.videolan.org/videolan/vlc
vlc_common: remove redirections to mingw printf functions
This is the job of mingw-w64 to pick the proper variant when we set __USE_MINGW_ANSI_STDIO. In fact when including stdio.h it undefines our defines.
This commit is contained in:
parent
c74f0a8e07
commit
b2a7a5b374
|
@ -72,12 +72,6 @@
|
|||
# define VLC_GCC_VERSION(maj,min) (0)
|
||||
#endif
|
||||
|
||||
/* Try to fix format strings for all versions of mingw and mingw64 */
|
||||
#if defined( _WIN32 ) && defined( __USE_MINGW_ANSI_STDIO )
|
||||
#define snprintf __mingw_snprintf
|
||||
#define vsnprintf __mingw_vsnprintf
|
||||
#endif
|
||||
|
||||
/* Function attributes for compiler warnings */
|
||||
#if defined __has_attribute
|
||||
# if __has_attribute(warning)
|
||||
|
|
Loading…
Reference in New Issue