Rationalized PC compiler defines: require MS_WINDOWS or __BORLANDC__

or __WATCOMC__.  Add ALTSEP for PC filesystems.
This commit is contained in:
Guido van Rossum 1996-09-11 20:20:58 +00:00
parent 1550ff722d
commit c8ce571c16
1 changed files with 2 additions and 1 deletions

View 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