summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 4458323423b..1cdc5f19596 100644
--- a/io.c
+++ b/io.c
@@ -1519,7 +1519,7 @@ pipe_finalize(fptr)
status = pclose(fptr->f2);
}
fptr->f = fptr->f2 = 0;
-#if defined DJGPP || (defined NT && !defined __BORLANDC__)
+#if defined DJGPP
status <<= 8;
#endif
rb_last_status = INT2FIX(status);