summaryrefslogtreecommitdiff
path: root/src/node_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_file.h')
-rw-r--r--src/node_file.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/node_file.h b/src/node_file.h
index 5ae01df9ef..034e3c0427 100644
--- a/src/node_file.h
+++ b/src/node_file.h
@@ -199,18 +199,10 @@ constexpr void FillStatsArray(AliasedBuffer<NativeT, V8T>* fields,
fields->SetValue(offset + 3, s->st_uid);
fields->SetValue(offset + 4, s->st_gid);
fields->SetValue(offset + 5, s->st_rdev);
-#if defined(__POSIX__)
fields->SetValue(offset + 6, s->st_blksize);
-#else
- fields->SetValue(offset + 6, 0);
-#endif
fields->SetValue(offset + 7, s->st_ino);
fields->SetValue(offset + 8, s->st_size);
-#if defined(__POSIX__)
fields->SetValue(offset + 9, s->st_blocks);
-#else
- fields->SetValue(offset + 9, 0);
-#endif
// Dates.
fields->SetValue(offset + 10, ToNative<NativeT>(s->st_atim));
fields->SetValue(offset + 11, ToNative<NativeT>(s->st_mtim));