]> granicus.if.org Git - python/commitdiff
Issue #22591: Drop support of MS-DOS
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 10 Oct 2014 09:55:41 +0000 (11:55 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 10 Oct 2014 09:55:41 +0000 (11:55 +0200)
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 :'-(

Include/osdefs.h

index 0c2e34b879572b92cf07619703b29cad5e37f8b1..bd84c1c12c19fdc1d15d39432a7fc4e0decf2831 100644 (file)
@@ -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