summaryrefslogtreecommitdiff
path: root/Include/osdefs.h
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
parente2ccf5608ca08f6b5adb8a3fd4d92bf9a450b0a8 (diff)
downloadcpython-git-b71c7dc9ddd6997be49ed6aaabf99a067e2c0388.tar.gz
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 0c2e34b879..bd84c1c12c 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