1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

View File

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