summaryrefslogtreecommitdiffstats
path: root/Include/osdefs.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-10 09:55:41 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-10 09:55:41 (GMT)
commitb71c7dc9ddd6997be49ed6aaabf99a067e2c0388 (patch)
treebe1f8ece064ac015e8afc71256feb1c1019187a4 /Include/osdefs.h
parente2ccf5608ca08f6b5adb8a3fd4d92bf9a450b0a8 (diff)
downloadcpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.zip
cpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.tar.gz
cpython-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.tar.bz2
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 0c2e34b..bd84c1c 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