summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-02 20:34:19 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-02 20:34:19 (GMT)
commit7bf22de75356e3e5f91027f0e9746db33b924147 (patch)
treeb3a77ffe676efc6e240eaec4fd49dbd65b9fdd5e /Include
parent91221c29f285bfd1a0595ee7a5335f6e23e49579 (diff)
downloadcpython-7bf22de75356e3e5f91027f0e9746db33b924147.zip
cpython-7bf22de75356e3e5f91027f0e9746db33b924147.tar.gz
cpython-7bf22de75356e3e5f91027f0e9746db33b924147.tar.bz2
Patch for QNX, by Chris Herborth.
Diffstat (limited to 'Include')
-rw-r--r--Include/osdefs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/osdefs.h b/Include/osdefs.h
index f914919..594fc10 100644
--- a/Include/osdefs.h
+++ b/Include/osdefs.h
@@ -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