summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/stdio_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/stdio_compat.h')
-rw-r--r--apps/plugins/lib/stdio_compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/lib/stdio_compat.h b/apps/plugins/lib/stdio_compat.h
index aec72a6af5..b9056fae04 100644
--- a/apps/plugins/lib/stdio_compat.h
+++ b/apps/plugins/lib/stdio_compat.h
@@ -38,8 +38,11 @@
#define ungetc _ungetc_
#define fputc _fputc_
#define fgets _fgets_
+#undef clearerr
#define clearerr _clearerr_
+#undef ferror
#define ferror _ferror_
+#undef feof
#define feof _feof_
#define fprintf _fprintf_
#undef stdout