[Pkg-mono-svn-commits] [SCM] mono branch, master-experimental-patches/kfreebsd_support, updated. upstream/3.0.0+dfsg-9-gf46cef1
Jo Shields
directhex at apebox.org
Thu Apr 18 17:14:53 UTC 2013
The following commit has been merged in the master-experimental-patches/kfreebsd_support branch:
commit f46cef1dbe4443f12382c114e725b689d4e9b230
Author: Jo Shields <directhex at apebox.org>
Date: Thu Apr 18 13:53:44 2013 +0100
Ensure GetVolumeInformation is defined on kfreebsd, by adding to the #define
diff --git a/mono/io-layer/io.c b/mono/io-layer/io.c
index ac8cb74..0ce9348 100755
--- a/mono/io-layer/io.c
+++ b/mono/io-layer/io.c
@@ -4194,7 +4194,7 @@ get_fstypename (gchar *utfpath)
}
/* Linux has struct statfs which has a different layout */
-#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__)
+#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__) || defined(__FreeBSD_kernel__)
gboolean
GetVolumeInformation (const gunichar2 *path, gunichar2 *volumename, int volumesize, int *outserial, int *maxcomp, int *fsflags, gunichar2 *fsbuffer, int fsbuffersize)
{
--
mono
More information about the Pkg-mono-svn-commits
mailing list