]> granicus.if.org Git - php/commitdiff
Remove padding
authorAnatol Belski <ab@php.net>
Wed, 15 Nov 2017 17:03:51 +0000 (18:03 +0100)
committerAnatol Belski <ab@php.net>
Wed, 15 Nov 2017 17:03:51 +0000 (18:03 +0100)
win32/readdir.h

index 5c594fd7ea5e1cfadffb8d5be7241f3f26701a56..8e26cbadb6dcf0008986dcff9de8702fdcf58c62 100644 (file)
@@ -22,10 +22,6 @@ struct dirent {
        long d_ino;                                     /* inode (always 1 in WIN32) */
        off_t d_off;                                    /* offset to this dirent */
        unsigned short d_reclen;                        /* length of d_name */
-       unsigned short pad0;
-#if defined(_WIN64)
-       uint32_t pad1;
-#endif
        char d_name[1]; /* null terminated filename in the current encoding, glyph number <= 255 wchar_t's + \0 byte */
 };