Drop use of __USE_MINGW_ANSI_STDIO

This commit is contained in:
Erik de Castro Lopo 2016-07-03 11:03:02 +10:00
parent 50a4098e9f
commit ac0c02de3c
2 changed files with 0 additions and 5 deletions

View File

@ -174,7 +174,6 @@ case "$host_os" in
TYPEOF_SF_COUNT_T="__int64"
SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
SIZEOF_SF_COUNT_T=8
AC_DEFINE([__USE_MINGW_ANSI_STDIO],1,[Set to 1 to use C99 printf/snprintf in MinGW.])
;;
*)
SIZEOF_SF_COUNT_T=0

View File

@ -61,11 +61,7 @@ void write_mono_file (const char * filename, int format, int srate, float * outp
#ifdef __GNUC__
static inline void
exit_if_true (int test, const char *format, ...)
#if (defined (__USE_MINGW_ANSI_STDIO) && __USE_MINGW_ANSI_STDIO)
__attribute__ ((format (gnu_printf, 2, 3))) ;
#else
__attribute__ ((format (printf, 2, 3))) ;
#endif
#endif
static inline void