summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/dl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c
index 7b52a21a0..4a3166098 100644
--- a/ext/dl/dl.c
+++ b/ext/dl/dl.c
@@ -557,11 +557,7 @@ rb_io_to_ptr(VALUE self)
GetOpenFile(self, fptr);
fp = fptr->f;
-#if defined(__DragonFly__)
return fp ? rb_dlptr_new(fp, 0, 0) : Qnil;
-#else
- return fp ? rb_dlptr_new(fp, sizeof(FILE), 0) : Qnil;
-#endif
}
VALUE