summaryrefslogtreecommitdiff
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-01-03 11:10:19 +0900
committergit <[email protected]>2024-01-03 02:12:30 +0000
commit73fb9c35efd64f0935bce52b18a38c2a500a972f (patch)
tree4a47e4e279f30d16732b5ef85de7c81ee5acad1c /ext/io/console/console.c
parent9ff4e52d5d322a5d1d13d7d0e94da2aa8f530bc0 (diff)
[ruby/io-console] `IO_CONSOLE_VERSION` is no longer a macro
https://github.com/ruby/io-console/commit/14b35217dc
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 0448a6cba8..7859373438 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -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);