Patch for QNX, by Chris Herborth.
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 @@
#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