1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

Leveraged new bit-field support.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4359 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc 2009-10-11 11:14:35 +00:00
parent e623c87d63
commit c221b3c8cf

View File

@ -51,17 +51,25 @@ struct dirent {
unsigned d_blocks;
unsigned long d_size;
unsigned char d_type;
unsigned d_cdate;
struct {
unsigned char mins;
unsigned char hours;
unsigned day :5;
unsigned mon :4;
unsigned year :7;
} d_cdate;
struct {
unsigned char min;
unsigned char hour;
} d_ctime;
unsigned char d_access;
unsigned d_auxtype;
unsigned d_mdate;
struct {
unsigned char mins;
unsigned char hours;
unsigned day :5;
unsigned mon :4;
unsigned year :7;
} d_mdate;
struct {
unsigned char min;
unsigned char hour;
} d_mtime;
};