diff platform/dirent.h @ 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 2ff26b697877
children 6baf177f335c
line wrap: on
line diff
--- a/platform/dirent.h	Mon Nov 28 05:49:27 2011 +0000
+++ b/platform/dirent.h	Tue Nov 29 15:25:41 2011 +0000
@@ -26,6 +26,13 @@
 # define A_ARCHIVE 0x20
 #endif
 
+#ifdef __WATCOMC__
+#undef DIR
+#undef direct
+#undef dirent
+#define DIR DIRW
+#endif
+
 struct dirent {
     int            d_ino;                 /* Dummy */
     int            d_reclen;		  /* Dummy, same as d_namlen */