aboutsummaryrefslogtreecommitdiffstats
path: root/ext/io/console/console.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-02 11:24:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-03-02 11:24:29 +0000
commit1de78c5fd89e7da938b6f92200e851e119ea74b7 (patch)
treeafec4222a05819b56e59b096412d1f78a4a219fc /ext/io/console/console.c
parent013016b9865f4e5efe42856116f499d624b60ead (diff)
downloadruby-1de78c5fd89e7da938b6f92200e851e119ea74b7.tar.gz
io/console: drop 2.1.0 support [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/io/console/console.c')
-rw-r--r--ext/io/console/console.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index e8089074be..54ff34492e 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -14,9 +14,6 @@
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
-#ifndef RARRAY_CONST_PTR
-# define RARRAY_CONST_PTR(ary) RARRAY_PTR(ary)
-#endif
#if defined HAVE_TERMIOS_H
# include <termios.h>
@@ -100,10 +97,6 @@ rb_f_send(int argc, VALUE *argv, VALUE recv)
}
#endif
-#ifndef HAVE_RB_SYM2STR
-# define rb_sym2str(sym) rb_id2str(SYM2ID(sym))
-#endif
-
typedef struct {
int vmin;
int vtime;