summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-12-24 13:00:26 -0500
committerFranklin Wei <git@fwei.tk>2017-12-24 13:00:26 -0500
commit581a82e8544a96c0f848a3b23260237d91f8f31b (patch)
treeee879814e4f6735b4f71f43b9f89d6f1b9f4f0d5 /apps/plugins
parent7ea37bb806a6faeb4e8f9b115f256735f089b169 (diff)
Undef potentially conflicting macros in stdio_compat.h
Change-Id: If4af3e3cc16a947127e6253d0b81b684b5abb0c9
Diffstat (limited to 'apps/plugins')
-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