summaryrefslogtreecommitdiff
path: root/ext/SDBM_File
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-07-16 17:32:16 +0100
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2021-11-02 18:01:42 +0000
commit4457f3fc414965b3f281e91fc2e24332a7149345 (patch)
tree35f0c3c918d5d42cc3c65e6652eb389a3970bbd5 /ext/SDBM_File
parentb53d6a00df0da96446042ea510b013d59cf81109 (diff)
downloadperl-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 'ext/SDBM_File')
-rw-r--r--ext/SDBM_File/sdbm.c2
-rw-r--r--ext/SDBM_File/sdbm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/SDBM_File/sdbm.c b/ext/SDBM_File/sdbm.c
index b81d1e30c1..7cf07d7599 100644
--- a/ext/SDBM_File/sdbm.c
+++ b/ext/SDBM_File/sdbm.c
@@ -134,7 +134,7 @@ sdbm_prep(char *dirname, char *pagname, int flags, int mode)
* open the files in sequence, and stat the dirfile.
* If we fail anywhere, undo everything, return NULL.
*/
-#if defined(OS2) || defined(MSDOS) || defined(WIN32) || defined(__CYGWIN__)
+#if defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
flags |= O_BINARY;
# endif
if ((db->pagf = open(pagname, flags, mode)) > -1) {
diff --git a/ext/SDBM_File/sdbm.h b/ext/SDBM_File/sdbm.h
index 199a2eec0c..e150fe5901 100644
--- a/ext/SDBM_File/sdbm.h
+++ b/ext/SDBM_File/sdbm.h
@@ -128,7 +128,7 @@ extern long sdbm_hash(const char *, int);
#endif
#ifdef I_SYS_PARAM
-# if !defined(MSDOS) && !defined(WIN32) && !defined(VMS)
+# if !defined(WIN32) && !defined(VMS)
# ifdef PARAM_NEEDS_TYPES
# include <sys/types.h>
# endif