mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Drop use of __USE_MINGW_ANSI_STDIO
This commit is contained in:
parent
50a4098e9f
commit
ac0c02de3c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user