diff options
author | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2020-07-16 17:32:16 +0100 |
---|---|---|
committer | Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> | 2021-11-02 18:01:42 +0000 |
commit | 4457f3fc414965b3f281e91fc2e24332a7149345 (patch) | |
tree | 35f0c3c918d5d42cc3c65e6652eb389a3970bbd5 /perlio.c | |
parent | b53d6a00df0da96446042ea510b013d59cf81109 (diff) | |
download | perl-4457f3fc414965b3f281e91fc2e24332a7149345.tar.gz |
Remove DOS/DJGPP support
DJGPP is a port of the GNU toolchain to 32-bit x86 systems running DOS.
The last known attempt to build Perl on it was on 5.20, which only got
as far as building miniperl.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -244,11 +244,7 @@ PerlIO_fdupopen(pTHX_ PerlIO *f, CLONE_PARAMS *param, int flags) const int fd = PerlLIO_dup_cloexec(PerlIO_fileno(f)); if (fd >= 0) { char mode[8]; -# ifdef DJGPP - const int omode = djgpp_get_stream_mode(f); -# else const int omode = fcntl(fd, F_GETFL); -# endif PerlIO_intmode2str(omode,mode,NULL); /* the r+ is a hack */ return PerlIO_fdopen(fd, mode); |