Disambiguate the macros used to disable fprintf/printf/puts functions.
authorDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 22:05:26 +0000 (22:05 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sun, 25 Jan 2009 22:05:26 +0000 (22:05 +0000)
Originally committed as revision 16790 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/internal.h

index 3fa1447..7f42d54 100644 (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