Hi,

here's a patch to be able to compile SYS with OW 1.8. I've lost SVN
commit access (sorry Jim for not responding to your email, I was very
busy at the time), so I'm sending a patch in the hope somebody will
apply it.

Bart

Index: sys/sys.c
===================================================================
--- sys/sys.c   (revision 1366)
+++ sys/sys.c   (working copy)
@@ -162,7 +162,11 @@
 #else
 typedef struct
 {
+#if defined(__WATCOMC__) && __WATCOMC__ < 1280
   unsigned short date, time;
+#else
+  unsigned date, time;
+#endif
 } ftime;
 #endif

@@ -1001,7 +1005,11 @@
   struct stat fstatbuf;
   BYTE far *bufptr;
   BYTE far *buffer;
+#if defined(__WATCOMC__) && __WATCOMC__ < 1280
   UWORD theseg;
+#else
+  unsigned theseg;
+#endif

   strcpy(source, srcPath);
   if (rootPath != NULL) /* trick for comspec */

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Freedos-kernel mailing list
Freedos-kernel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to