1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/json/parser/parser.h: Add fallback MAYBE_UNUSED

e2ad91fc20
This commit is contained in:
Nobuyoshi Nakada 2021-05-19 10:16:22 +09:00
parent 637683c9f4
commit 1d170fdc6d
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -13,6 +13,10 @@
#include "st.h"
#endif
#ifndef MAYBE_UNUSED
# define MAYBE_UNUSED(x) x
#endif
#define option_given_p(opts, key) RTEST(rb_funcall(opts, i_key_p, 1, key))
/* unicode */