From: ol.sc Date: Sun, 24 Jun 2012 19:49:15 +0000 (+0000) Subject: Added Apple II classification macros for file types from struct dirent. X-Git-Tag: V2.14~330 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=15546f8880daec80fd1e10f5c8d21f28195fbb07;p=cc65 Added Apple II classification macros for file types from struct dirent. git-svn-id: svn://svn.cc65.org/cc65/trunk@5738 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/dirent.h b/include/dirent.h index 63a96ea82..2a4f42f17 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -73,6 +73,11 @@ struct dirent { } d_mtime; }; +#define _DE_ISREG(t) ((t) != $0F) +#define _DE_ISDIR(t) ((t) == $0F) +#define _DE_ISLBL(t) (0) +#define _DE_ISLNK(t) (0) + #elif defined(__ATARI__) struct dirent {