Add RUBY_VERSION_IS_3_5
.
This commit is contained in:
parent
bef59edea0
commit
22667fcc38
Notes:
git
2025-04-14 09:28:27 +00:00
@ -35,6 +35,10 @@
|
|||||||
(RUBY_API_VERSION_MAJOR == (major) && RUBY_API_VERSION_MINOR < (minor)))
|
(RUBY_API_VERSION_MAJOR == (major) && RUBY_API_VERSION_MINOR < (minor)))
|
||||||
#define RUBY_VERSION_SINCE(major,minor) (!RUBY_VERSION_BEFORE(major, 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)
|
#if RUBY_VERSION_SINCE(3, 4)
|
||||||
#define RUBY_VERSION_IS_3_4
|
#define RUBY_VERSION_IS_3_4
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user