This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move #define printf out of perl.h into appropriate
[perl5.git] / perl.h
diff --git a/perl.h b/perl.h
index 614d570..a3a6d10 100644 (file)
--- a/perl.h
+++ b/perl.h
@@ -3820,17 +3820,6 @@ typedef struct am_table_short AMTS;
 #   define Atoul(s)    Strtoul(s, (char **)NULL, 10)
 #endif
 
-#if !defined(PERLIO_IS_STDIO)
-/*
- * Remap printf
- */
-#undef printf
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && !defined(PERL_GCC_PEDANTIC)
-#define printf(fmt,args...) PerlIO_stdoutf(fmt,##args)
-#else
-#define printf PerlIO_stdoutf
-#endif
-#endif
 
 /* if these never got defined, they need defaults */
 #ifndef PERL_SET_CONTEXT