Skip to content

Commit

Permalink
[ruby/io-console] IO_CONSOLE_VERSION is no longer a macro
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu authored and matzbot committed Jan 3, 2024
1 parent 9ff4e52 commit 73fb9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/io/console/console.c
Expand Up @@ -1826,7 +1826,7 @@ InitVM_console(void)
{
/* :stopdoc: */
cConmode = rb_define_class_under(rb_cIO, "ConsoleMode", rb_cObject);
rb_define_const(cConmode, "VERSION", rb_str_new_cstr(STRINGIZE(IO_CONSOLE_VERSION)));
rb_define_const(cConmode, "VERSION", rb_str_new_cstr(IO_CONSOLE_VERSION));
rb_define_alloc_func(cConmode, conmode_alloc);
rb_undef_method(cConmode, "initialize");
rb_define_method(cConmode, "initialize_copy", conmode_init_copy, 1);
Expand Down

0 comments on commit 73fb9c3

Please sign in to comment.