Undef printf before redirecting it to PerlIO_stdoutf.
Chip Salzenberg [Fri, 19 Nov 1999 17:20:19 +0000 (17:20 +0000)]
(Avoids an irritating warning when compiling with PerlIO.)

p4raw-id: //depot/perl@4599

perl.h

diff --git a/perl.h b/perl.h
index b3ea9fb..3fe64a8 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3012,6 +3012,7 @@ typedef struct am_table_short AMTS;
  * Now we have __attribute__ out of the way 
  * Remap printf 
  */
+#undef printf
 #define printf PerlIO_stdoutf
 #endif