diff options
author | Guido van Rossum <guido@python.org> | 1996-09-11 20:20:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-09-11 20:20:58 (GMT) |
commit | c8ce571c165af658ac7a9b17ec474aa3fc5c5c64 (patch) | |
tree | a00897298caa17303f8da5240922a37d8f52e61b /Include/osdefs.h | |
parent | 1550ff722d18962ec26284a32e2acccd2f626faf (diff) | |
download | cpython-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/osdefs.h')
-rw-r--r-- | Include/osdefs.h | 3 |
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 |