summaryrefslogtreecommitdiff
path: root/nostdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'nostdio.h')
-rw-r--r--nostdio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nostdio.h b/nostdio.h
index ed51758e65..9726114647 100644
--- 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_