diff options
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r-- | ext/dl/cptr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c index 3be97b272c..aeb1852b48 100644 --- a/ext/dl/cptr.c +++ b/ext/dl/cptr.c @@ -420,11 +420,7 @@ rb_dlptr_s_to_ptr(VALUE self, VALUE val) rb_io_t *fptr; FILE *fp; GetOpenFile(val, fptr); -#if HAVE_RB_IO_STDIO_FILE fp = rb_io_stdio_file(fptr); -#else - fp = fptr->fd; -#endif return rb_dlptr_new(fp, 0, NULL); } else if( rb_obj_is_kind_of(val, rb_cString) == Qtrue ){ |