Commit b58f29a1 authored by Diego Biurrun's avatar Diego Biurrun

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

Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent ed0fd852
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment