We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7a0238b + d668820 commit 2b8a05cCopy full SHA for 2b8a05c
src/posix.c
@@ -157,7 +157,7 @@ int p_rename(const char *from, const char *to)
157
158
int p_fallocate(int fd, off_t offset, off_t len)
159
{
160
-#ifdef __APPLE__
+#if defined (__APPLE__) || (defined (__NetBSD__) && __NetBSD_Version__ < 700000000)
161
fstore_t prealloc;
162
struct stat st;
163
size_t newsize;
0 commit comments