Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use a #define alias, to make ruby-termios happy

  • Loading branch information...
commit 8b591e7a112c4825123df3b959a4a74eaefe949f 1 parent 9b8d290
Evan Phoenix authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  vm/capi/include/ruby.h
View
3  vm/capi/include/ruby.h
@@ -354,9 +354,10 @@ struct RIO {
#define RIO(d) capi_rio_struct(d)
-typedef struct RIO OpenFile;
typedef struct RIO rb_io_t;
+#define OpenFile rb_io_t
+
#define HAVE_RB_IO_T 1
// Fake it out, just make the ptr be the val
Please sign in to comment.
Something went wrong with that request. Please try again.