snprintf could be defined

include/ruby/subst.h has `#define snprintf` which breaks here.
This commit is contained in:
卜部昌平 2023-08-25 14:54:38 +09:00
parent 1614e5ebb2
commit fa327472ca
Notes: git 2023-08-25 08:28:16 +00:00

View File

@ -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);