From: uz Date: Tue, 29 May 2012 21:19:50 +0000 (+0000) Subject: Added a struct dirent for the CBMs. X-Git-Tag: V2.14~404 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6209f1344af365f0d40bc10bb19635d028fb3bf;p=cc65 Added a struct dirent for the CBMs. git-svn-id: svn://svn.cc65.org/cc65/trunk@5664 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/dirent.h b/include/dirent.h index a1e7b706a..7dd79c144 100644 --- a/include/dirent.h +++ b/include/dirent.h @@ -79,6 +79,18 @@ struct dirent { char d_name[13]; /* 8.3 + trailing 0 */ }; +#elif defined(__CBM__) + +struct dirent { + char d_name[16+1]; + unsigned int d_off; + unsigned int d_reclen; + unsigned char d_type; + + /* bsd extensions */ + unsigned char d_namlen; +}; + #elif defined(__LYNX__) struct dirent {