/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
typedef struct DIR DIR;
-#if defined(__APPLE2__) || defined(__APPLE2ENH__)
+#if defined(__APPLE2__)
struct dirent {
char d_name[16];
#define _DE_ISREG(t) (((t) & _CBM_T_REG) != 0)
#define _DE_ISDIR(t) ((t) == _CBM_T_DIR)
-#define _DE_ISLBL(t) ((t) == _CBM_T_HDR)
+#define _DE_ISLBL(t) ((t) == _CBM_T_HEADER)
#define _DE_ISLNK(t) ((t) == _CBM_T_LNK)
#elif defined(__LYNX__)
struct dirent {
- unsigned char d_blocks;
- unsigned int d_offset;
- char d_type;
- void *d_address;
- unsigned int d_size;
+ unsigned char d_blocks;
+ unsigned int d_offset;
+ char d_type;
+ void *d_address;
+ unsigned int d_size;
};
extern struct dirent FileEntry;
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/