Windows: Use a customized struct stat that also has the st_blocks member.
authorJohannes Sixt <johannes.sixt@telecom.at>
Mon, 12 Nov 2007 11:52:41 +0000 (12:52 +0100)
committerJohannes Sixt <johannes.sixt@telecom.at>
Thu, 26 Jun 2008 06:45:11 +0000 (08:45 +0200)
commitfc2ded5b08e071beed974117c0148781b1acc94a
tree2aa9f32e7a58fb1e0f1fb701f69c9454a0a9b7b8
parent7c0ffa1cb753f9b909dfb3bc7a5d5417b8de39c2
Windows: Use a customized struct stat that also has the st_blocks member.

Windows's struct stat does not have a st_blocks member. Since we already
have our own stat/lstat/fstat implementations, we can just as well use
a customized struct stat. This patch introduces just that, and also fills
in the st_blocks member. On the other hand, we don't provide members that
are never used.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
compat/mingw.c
compat/mingw.h