mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Patch for QNX, by Chris Herborth.
This commit is contained in:
parent
91221c29f2
commit
7bf22de753
3 changed files with 10 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue