From: Guido van Rossum Date: Wed, 11 Sep 1996 20:20:58 +0000 (+0000) Subject: Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__ X-Git-Tag: v1.4~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8ce571c165af658ac7a9b17ec474aa3fc5c5c64;p=thirdparty%2FPython%2Fcpython.git Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__ or __WATCOMC__. Add ALTSEP for PC filesystems. --- diff --git a/Include/osdefs.h b/Include/osdefs.h index 8a6b741f7acc..de9d19bfe23b 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