summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-11 20:20:58 (GMT)
committerGuido van Rossum <guido@python.org>1996-09-11 20:20:58 (GMT)
commitc8ce571c165af658ac7a9b17ec474aa3fc5c5c64 (patch)
treea00897298caa17303f8da5240922a37d8f52e61b /Include
parent1550ff722d18962ec26284a32e2acccd2f626faf (diff)
downloadcpython-c8ce571c165af658ac7a9b17ec474aa3fc5c5c64.zip
cpython-c8ce571c165af658ac7a9b17ec474aa3fc5c5c64.tar.gz
cpython-c8ce571c165af658ac7a9b17ec474aa3fc5c5c64.tar.bz2
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__. Add ALTSEP for PC filesystems.
Diffstat (limited to 'Include')
-rw-r--r--Include/osdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index 8a6b741..de9d19b 100644
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -37,8 +37,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define DELIM '\n'
#endif
-#if defined(MSDOS) || defined(NT) || defined(__BORLANDC__) || defined(__WATCOMC__)
+#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__)
#define SEP '\\'
+#define ALTSEP '/'
#define MAXPATHLEN 256
#define DELIM ';'
#endif