mirror of
https://github.com/python/cpython.git
synced 2025-12-11 19:40:17 +00:00
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
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue