comparison platform/dirent.h @ 1601:71e0a3ad07f7

Enable level 3 warnings in DEBUG mode with Visual C to show deprecation warnings. Source code cleanup to eliminate the warnings now generated on this level.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 26 Feb 2012 09:21:35 +0000
parents 6baf177f335c
children
comparison
equal deleted inserted replaced
1600:cbfdd56e3e72 1601:71e0a3ad07f7
32 #undef dirent 32 #undef dirent
33 #define DIR DIRW 33 #define DIR DIRW
34 #endif 34 #endif
35 35
36 struct dirent { 36 struct dirent {
37 int d_ino; /* Dummy */ 37 int d_ino; /* Dummy */
38 int d_reclen; /* Dummy, same as d_namlen */ 38 int d_reclen; /* Dummy, same as d_namlen */
39 int d_namlen; /* length of name */ 39 int d_namlen; /* length of name */
40 char d_name[MAXNAMLEN + 1]; 40 char d_name[MAXNAMLEN + 1];
41 unsigned long d_size; 41 unsigned long long d_size;
42 unsigned short d_attribute; /* attributes (see above) */ 42 unsigned long d_attribute; /* attributes (see above) */
43 unsigned short d_time; /* modification time */ 43 unsigned short d_time; /* modification time */
44 unsigned short d_date; /* modification date */ 44 unsigned short d_date; /* modification date */
45 }; 45 };
46 46
47 typedef struct _dirdescr DIR; 47 typedef struct _dirdescr DIR;
48 /* the structs do not have to be defined here */ 48 /* the structs do not have to be defined here */
49 49