aboutsummaryrefslogtreecommitdiffstats
path: root/sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sprintf.c b/sprintf.c
index c29ca23b22..7e2178e93f 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -837,6 +837,7 @@ fmt_setup(buf, c, flags, width, prec)
#define __sFILE rb_printf_sfile
#undef feof
#undef ferror
+#undef clearerr
#undef fileno
#if SIZEOF_LONG < SIZEOF_VOIDP
# if SIZEOF_LONG_LONG == SIZEOF_VOIDP