From c8ce571c165af658ac7a9b17ec474aa3fc5c5c64 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 11 Sep 1996 20:20:58 +0000 Subject: [PATCH] Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__ or __WATCOMC__. Add ALTSEP for PC filesystems. --- Include/osdefs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Include/osdefs.h b/Include/osdefs.h index 8a6b741f7ac..de9d19bfe23 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