summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2023-08-29 00:50:05 +1200
committerGitHub <noreply@github.com>2023-08-28 21:50:05 +0900
commitcaf48487cafb8414c60f32b902decf0689ae2093 (patch)
tree44fbae96ab1621968e2893ed7a642238d7f08e06
parent9b87518ea0eff0c30c22db9c2394bb61db913646 (diff)
Restore `HAVE_RB_IO_T` macro for compatibility with `kgio`, `unicorn`, etc. (#8286)
Notes
Notes: Merged-By: nurse <naruse@airemix.jp>
-rw-r--r--include/ruby/io.h1
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. */