Add RUBY_VERSION_IS_3_5.

This commit is contained in:
Samuel Williams 2025-04-14 16:46:11 +09:00
parent bef59edea0
commit 22667fcc38
Notes: git 2025-04-14 09:28:27 +00:00

View File

@ -35,6 +35,10 @@
(RUBY_API_VERSION_MAJOR == (major) && RUBY_API_VERSION_MINOR < (minor)))
#define RUBY_VERSION_SINCE(major,minor) (!RUBY_VERSION_BEFORE(major, minor))
#if RUBY_VERSION_SINCE(3, 5)
#define RUBY_VERSION_IS_3_5
#endif
#if RUBY_VERSION_SINCE(3, 4)
#define RUBY_VERSION_IS_3_4
#endif