X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fdirent.h;h=124c7f2241bc6c30d0010b5295823ccc1c9ddadc;hb=1a5fa6dc512221490c5547505668a78308f904a8;hp=010db6a117cefbe858d8ff75aecccf2a27997c79;hpb=f9f660dd5d2000fac60d7fa7129c080f3a305e73;p=cc65 diff --git a/include/dirent.h b/include/dirent.h index 010db6a11..124c7f224 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -36,14 +36,14 @@ /*****************************************************************************/ -/* Data */ +/* Data */ /*****************************************************************************/ typedef struct DIR DIR; -#if defined(__APPLE2__) || defined(__APPLE2ENH__) +#if defined(__APPLE2__) struct dirent { char d_name[16]; @@ -107,17 +107,17 @@ struct dirent { #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; @@ -144,7 +144,7 @@ struct dirent { /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/