diff os2/dirent.c @ 1404:56f311dc23f6

Changes to get the library building with Watcom on OS/2. These changes mean that VisualAge 3.0 will no longer build the library. Please use version 3.6 or higher.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 29 Nov 2011 15:25:41 +0000
parents 184b3aedc2ff
children 6baf177f335c
line wrap: on
line diff
--- a/os2/dirent.c	Mon Nov 28 05:49:27 2011 +0000
+++ b/os2/dirent.c	Tue Nov 29 15:25:41 2011 +0000
@@ -8,6 +8,12 @@
 #include "compat.h"
 #include <errno.h>
 
+#ifdef __WATCOMC__
+#include "platform\dirent.h"
+typedef struct _dirdescr DIRW;
+#define DIR DIRW
+#endif
+
 # define FFBUF	FILEFINDBUF3
 # define Word	ULONG
   /*