[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/stubs_c.c
From: |
mldonkey-commits |
Subject: |
[Mldonkey-commits] Changes to mldonkey/src/utils/lib/stubs_c.c |
Date: |
Thu, 06 Oct 2005 09:02:22 -0400 |
Index: mldonkey/src/utils/lib/stubs_c.c
diff -u mldonkey/src/utils/lib/stubs_c.c:1.25
mldonkey/src/utils/lib/stubs_c.c:1.26
--- mldonkey/src/utils/lib/stubs_c.c:1.25 Sun Sep 18 19:00:53 2005
+++ mldonkey/src/utils/lib/stubs_c.c Thu Oct 6 13:02:21 2005
@@ -1068,7 +1068,7 @@
#ifdef HAVE_STATS
static value
-#if ((defined (sun) || defined (__sun__)))
+#if ((defined (sun) || defined (__sun__))) || (defined(__NetBSD__) &&
(__NetBSD_Version__ > 299000000))
copy_statfs (struct statvfs *buf)
#else
copy_statfs (struct statfs *buf)
@@ -1125,7 +1125,7 @@
CAMLparam1 (pathv);
CAMLlocal1 (bufv);
const char *path = String_val (pathv);
-#if ((defined (sun) || defined (__sun__)))
+#if ((defined (sun) || defined (__sun__))) || (defined(__NetBSD__) &&
(__NetBSD_Version__ > 299000000))
struct statvfs buf;
if (statvfs (path, &buf) == -1)
#else
- [Mldonkey-commits] Changes to mldonkey/src/utils/lib/stubs_c.c,
mldonkey-commits <=