23 lines
852 B
Plaintext
23 lines
852 B
Plaintext
$NetBSD: patch-am,v 1.7 2014/11/30 08:40:51 spz Exp $
|
|
|
|
--- mono/io-layer/io.c.orig 2014-10-04 09:27:43.000000000 +0000
|
|
+++ mono/io-layer/io.c
|
|
@@ -3463,7 +3463,7 @@ guint32 GetTempPath (guint32 len, gunich
|
|
return(ret);
|
|
}
|
|
|
|
-#ifdef HAVE_GETFSSTAT
|
|
+#if (defined(HAVE_GETFSSTAT) && defined(HAVE_SYS_STATFS_H))
|
|
/* Darwin has getfsstat */
|
|
gint32 GetLogicalDriveStrings (guint32 len, gunichar2 *buf)
|
|
{
|
|
@@ -4260,7 +4260,7 @@ guint32 GetDriveType(const gunichar2 *ro
|
|
return (drive_type);
|
|
}
|
|
|
|
-#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__) || defined(__FreeBSD_kernel__)
|
|
+#if defined (PLATFORM_MACOSX) || defined (__linux__) || defined(PLATFORM_BSD) || defined(__native_client__) || defined(__FreeBSD_kernel__) || defined(PLATFORM_SOLARIS)
|
|
static gchar*
|
|
get_fstypename (gchar *utfpath)
|
|
{
|