summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-10 11:55:41 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-10-10 11:55:41 +0200
commitb71c7dc9ddd6997be49ed6aaabf99a067e2c0388 (patch)
treebe1f8ece064ac015e8afc71256feb1c1019187a4 /Include/osdefs.h
parentIssue #19380: Optimized parsing of regular expressions. (diff)
downloadcpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.tar.gz
cpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.tar.bz2
cpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.zip
Issue #22591: Drop support of MS-DOS
Drop support of MS-DOS, especially of the DJGPP compiler (MS-DOS port of GCC). Today is a sad day. Good bye MS-DOS, good bye my friend :'-(
Diffstat (limited to 'Include/osdefs.h')
-rw-r--r--Include/osdefs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index 0c2e34b8795..bd84c1c12c1 100644
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -7,15 +7,12 @@ extern "C" {
/* Operating system dependencies */
-/* Mod by chrish: QNX has WATCOM, but isn't DOS */
-#if !defined(__QNX__)
-#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__)
+#ifdef MS_WINDOWS
#define SEP L'\\'
#define ALTSEP L'/'
#define MAXPATHLEN 256
#define DELIM L';'
#endif
-#endif
/* Filename separator */
#ifndef SEP