summaryrefslogtreecommitdiff
path: root/rubyparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'rubyparser.h')
-rw-r--r--rubyparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rubyparser.h b/rubyparser.h
index d4f0c26f27..df5cb6139b 100644
--- a/rubyparser.h
+++ b/rubyparser.h
@@ -602,6 +602,7 @@ typedef struct rb_parser_config_struct {
int (*long2int)(long);
int (*special_const_p)(VALUE);
int (*builtin_type)(VALUE);
+#undef snprintf
int (*snprintf)(char *str, size_t n, char const *fmt, ...);
VALUE (*node_case_when_optimizable_literal)(const NODE *const node);