comparison 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
comparison
equal deleted inserted replaced
1403:20c6d0c50c94 1404:56f311dc23f6
22 # define A_HIDDEN 0x02 22 # define A_HIDDEN 0x02
23 # define A_SYSTEM 0x04 23 # define A_SYSTEM 0x04
24 # define A_LABEL 0x08 24 # define A_LABEL 0x08
25 # define A_DIR 0x10 25 # define A_DIR 0x10
26 # define A_ARCHIVE 0x20 26 # define A_ARCHIVE 0x20
27 #endif
28
29 #ifdef __WATCOMC__
30 #undef DIR
31 #undef direct
32 #undef dirent
33 #define DIR DIRW
27 #endif 34 #endif
28 35
29 struct dirent { 36 struct dirent {
30 int d_ino; /* Dummy */ 37 int d_ino; /* Dummy */
31 int d_reclen; /* Dummy, same as d_namlen */ 38 int d_reclen; /* Dummy, same as d_namlen */