diff options
author | Samuel Williams <[email protected]> | 2023-08-29 00:50:05 +1200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-08-28 21:50:05 +0900 |
commit | caf48487cafb8414c60f32b902decf0689ae2093 (patch) | |
tree | 44fbae96ab1621968e2893ed7a642238d7f08e06 /include/ruby | |
parent | 9b87518ea0eff0c30c22db9c2394bb61db913646 (diff) |
Restore `HAVE_RB_IO_T` macro for compatibility with `kgio`, `unicorn`, etc. (#8286)
Notes
Notes:
Merged-By: nurse <[email protected]>
Diffstat (limited to 'include/ruby')
-rw-r--r-- | include/ruby/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h index 60029fedb6..e9dfeda5b1 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -138,6 +138,7 @@ struct rb_io_encoding { }; #ifndef HAVE_RB_IO_T +#define HAVE_RB_IO_T 1 /** Ruby's IO, metadata and buffers. */ struct rb_io { /** The IO's Ruby level counterpart. */ |