aboutsummaryrefslogtreecommitdiffstats
path: root/extension/filefuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'extension/filefuncs.c')
-rw-r--r--extension/filefuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/extension/filefuncs.c b/extension/filefuncs.c
index 277bb45f..5117b32f 100644
--- a/extension/filefuncs.c
+++ b/extension/filefuncs.c
@@ -353,6 +353,8 @@ fill_stat_array(const char *name, awk_array_t array, struct stat *sbuf)
#ifdef HAVE_ST_BLKSIZE
array_set_numeric(array, "blksize", sbuf->st_blksize);
+#elif defined(_WIN32)
+ array_set_numeric(array, "blksize", 4096);
#endif /* HAVE_ST_BLKSIZE */
pmode = format_mode(sbuf->st_mode);