]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
authorGuido van Rossum <guido@python.org>
Wed, 11 Sep 1996 20:20:58 +0000 (20:20 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 11 Sep 1996 20:20:58 +0000 (20:20 +0000)
or __WATCOMC__.  Add ALTSEP for PC filesystems.

Include/osdefs.h

index 8a6b741f7acc80f8a11981e41ffd26d3cc6865d6..de9d19bfe23b97715bf6d30f1cd7036dfcf0ad6b 100644 (file)
@@ -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