Commit 76044473 authored by diego's avatar diego

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16790 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ce593de2
...@@ -241,11 +241,11 @@ if((y)<(x)){\ ...@@ -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
......
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