diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-09-04 20:38:19 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-10-27 16:16:00 +0900 |
commit | 5a81b4ba9ba2ff120058988ea6148d624350eeac (patch) | |
tree | 1516478d412a692c46e3307a4660eaa72e5fac3e /ext/openssl/ruby_missing.h | |
parent | 5ba12a364fa5019f0e0f1e356087c001330097f1 (diff) | |
download | ruby-openssl-5a81b4ba9ba2ff120058988ea6148d624350eeac.tar.gz |
Remove unnecessary compat macro for old versions of Ruby
Remove unnecessary macros defined for compatibility with Ruby < 1.9. We
won't support Ruby versions before 2.3.
Diffstat (limited to 'ext/openssl/ruby_missing.h')
-rw-r--r-- | ext/openssl/ruby_missing.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/openssl/ruby_missing.h b/ext/openssl/ruby_missing.h index f076b175..8dacc826 100644 --- a/ext/openssl/ruby_missing.h +++ b/ext/openssl/ruby_missing.h @@ -13,16 +13,7 @@ #define rb_define_copy_func(klass, func) \ rb_define_method((klass), "initialize_copy", (func), 1) - -#ifndef GetReadFile #define FPTR_TO_FD(fptr) ((fptr)->fd) -#else -#define FPTR_TO_FD(fptr) (fileno(GetReadFile(fptr))) -#endif - -#ifndef HAVE_RB_IO_T -#define rb_io_t OpenFile -#endif #ifndef RB_INTEGER_TYPE_P /* for Ruby 2.3 compatibility */ |