mirror of https://github.com/python/cpython
Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__
or __WATCOMC__. Add ALTSEP for PC filesystems.
This commit is contained in:
parent
1550ff722d
commit
c8ce571c16
|
@ -37,8 +37,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#define DELIM '\n'
|
#define DELIM '\n'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MSDOS) || defined(NT) || defined(__BORLANDC__) || defined(__WATCOMC__)
|
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__)
|
||||||
#define SEP '\\'
|
#define SEP '\\'
|
||||||
|
#define ALTSEP '/'
|
||||||
#define MAXPATHLEN 256
|
#define MAXPATHLEN 256
|
||||||
#define DELIM ';'
|
#define DELIM ';'
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue