Disambiguate the macros used to disable fprintf/printf/puts functions.

Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-01-25 22:05:26 +00:00
parent ed0fd852a3
commit b58f29a171
1 changed files with 3 additions and 3 deletions

View File

@ -241,11 +241,11 @@ if((y)<(x)){\
#define exit exit_is_forbidden
#ifndef LIBAVFORMAT_BUILD
#undef printf
#define printf please_use_av_log
#define printf please_use_av_log_instead_of_printf
#undef fprintf
#define fprintf please_use_av_log
#define fprintf please_use_av_log_instead_of_fprintf
#undef puts
#define puts please_use_av_log
#define puts please_use_av_log_instead_of_puts
#undef perror
#define perror please_use_av_log_instead_of_perror
#endif