aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-16 13:31:57 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-16 13:33:56 +0900
commitf136c1ec804e1837f006f3abbf2ef90f1ef8134d (patch)
tree53d40ec8b4d9bc94a30541320741f03fa29044f5 /io.c
parentc2d9967f78d2e6f93f8d9876c2b3ab25aa6b86e7 (diff)
downloadruby-f136c1ec804e1837f006f3abbf2ef90f1ef8134d.tar.gz
Removed redundant NUM2IOCTLREQ definition [Bug #17759]
Fix up c2d9967f78d2e6f93f8d9876c2b3ab25aa6b86e7.
Diffstat (limited to 'io.c')
-rw-r--r--io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io.c b/io.c
index eceec8bf44..63b024013e 100644
--- a/io.c
+++ b/io.c
@@ -9812,7 +9812,6 @@ rb_f_select(int argc, VALUE *argv, VALUE obj)
#ifdef IOCTL_REQ_TYPE
typedef IOCTL_REQ_TYPE ioctl_req_t;
-# define NUM2IOCTLREQ(num) NUM2ULONG(num)
#else
typedef int ioctl_req_t;
# define NUM2IOCTLREQ(num) ((int)NUM2LONG(num))