[Python-checkins] cpython: Issue #22591: Drop support of MS-DOS

victor.stinner python-checkins at python.org
Fri Oct 10 11:56:25 CEST 2014


https://hg.python.org/cpython/rev/a1605d2508af
changeset:   92912:a1605d2508af
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Oct 10 11:55:41 2014 +0200
summary:
  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 :'-(

files:
  Include/osdefs.h |  5 +----
  1 files changed, 1 insertions(+), 4 deletions(-)


diff --git a/Include/osdefs.h b/Include/osdefs.h
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -7,15 +7,12 @@
 
 /* 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list