Patch for QNX, by Chris Herborth.

This commit is contained in:
Guido van Rossum 1997-12-02 20:34:19 +00:00
parent 91221c29f2
commit 7bf22de753
3 changed files with 10 additions and 7 deletions

View file

@ -44,12 +44,15 @@ PERFORMANCE OF THIS SOFTWARE.
#define DELIM '\n'
#endif
/* Mod by chrish: QNX has WATCOM, but isn't DOS */
#if !defined(__QNX__)
#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(__TOS_OS2__)
#define SEP '\\'
#define ALTSEP '/'
#define MAXPATHLEN 256
#define DELIM ';'
#endif
#endif
/* Filename separator */
#ifndef SEP