summaryrefslogtreecommitdiff
path: root/Include/osdefs.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-09-11 20:20:58 +0000
committerGuido van Rossum <guido@python.org>1996-09-11 20:20:58 +0000
commita79b25699e9819b53120e60dcc984f52be78c21c (patch)
tree81b5cfb7f17bb3ea2cee32336bb74d0a46245046 /Include/osdefs.h
parent7e4b073eeb7fb9ffebf2d14713721616bfb24a9c (diff)
downloadcpython-a79b25699e9819b53120e60dcc984f52be78c21c.tar.gz
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__. Add ALTSEP for PC filesystems.
Diffstat (limited to 'Include/osdefs.h')
-rw-r--r--Include/osdefs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index 8a6b741f7a..de9d19bfe2 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