aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index c4748735d..e8c55f646 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -248,6 +248,13 @@ int mingw_fstat(int fd, struct stat *buf);
248#define lstat mingw_lstat 248#define lstat mingw_lstat
249#define _stati64(x,y) mingw_stat(x,y) 249#define _stati64(x,y) mingw_stat(x,y)
250 250
251/* The Windows stat structure doesn't have the st_blocks member. This
252 * macro calculates st_blocks from st_size. It would be better if we
253 * could put brackets around it but most references to st_blocks in BusyBox
254 * are pretty simple and work without brackets.
255 */
256#define st_blocks st_size+511>>9
257
251/* 258/*
252 * sys/sysmacros.h 259 * sys/sysmacros.h
253 */ 260 */