diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-22 07:52:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-12-22 07:52:14 +0900 |
commit | a29b9e5efe286e8ad1b0d67c38f03cbb70951076 (patch) | |
tree | 0d538803b23972b8b7453d7015286895a1e6848c /spec/ruby/optional/capi/ext/rubyspec.h | |
parent | c34c6a89cb7524050dc6f174da53a8159a7bbd64 (diff) |
Remvoed no longer needed version guards
Diffstat (limited to 'spec/ruby/optional/capi/ext/rubyspec.h')
-rw-r--r-- | spec/ruby/optional/capi/ext/rubyspec.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/ruby/optional/capi/ext/rubyspec.h b/spec/ruby/optional/capi/ext/rubyspec.h index 4f75d40e55..b4d604e647 100644 --- a/spec/ruby/optional/capi/ext/rubyspec.h +++ b/spec/ruby/optional/capi/ext/rubyspec.h @@ -34,14 +34,6 @@ #define RUBY_VERSION_IS_2_6 #endif -#if RUBY_VERSION_MAJOR > 2 || (RUBY_VERSION_MAJOR == 2 && RUBY_VERSION_MINOR >= 5) -#define RUBY_VERSION_IS_2_5 -#endif - -#if RUBY_VERSION_MAJOR > 2 || (RUBY_VERSION_MAJOR == 2 && RUBY_VERSION_MINOR >= 4) -#define RUBY_VERSION_IS_2_4 -#endif - #if defined(__cplusplus) && !defined(RUBY_VERSION_IS_2_7) /* Ruby < 2.7 needs this to let these function with callbacks and compile in C++ code */ #define rb_define_method(mod, name, func, argc) rb_define_method(mod, name, RUBY_METHOD_FUNC(func), argc) |