Commit 2773409e authored by lucabe's avatar lucabe

Generate a linking error if perror() is used in libav*


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11061 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 93c2bda3
...@@ -257,6 +257,8 @@ if((y)<(x)){\ ...@@ -257,6 +257,8 @@ if((y)<(x)){\
#define printf please_use_av_log #define printf please_use_av_log
#undef fprintf #undef fprintf
#define fprintf please_use_av_log #define fprintf please_use_av_log
#undef perror
#define perror please_use_av_log_instead_of_perror
#endif #endif
#define CHECKED_ALLOCZ(p, size)\ #define CHECKED_ALLOCZ(p, size)\
......
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