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] / nostdio.h
index ed51758..9726114 100644 (file)
--- a/nostdio.h
+++ b/nostdio.h
@@ -68,8 +68,10 @@ struct _FILE;
 #undef tmpfile
 #undef ungetc
 #undef vfprintf
+#undef printf
 
 #define fprintf    _CANNOT _fprintf_
+#define printf     _CANNOT _printf_
 #define stdin      _CANNOT _stdin_
 #define stdout     _CANNOT _stdout_
 #define stderr     _CANNOT _stderr_