From: Matthias Clasen Date: Sat, 2 Feb 2013 05:19:15 +0000 (-0500) Subject: Don't try to find nfs mounts on Windows X-Git-Tag: 2.35.6~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59372663f2ed57b60de7cbf2a3241cf9d7adbbea;p=platform%2Fupstream%2Fglib.git Don't try to find nfs mounts on Windows This should fix the build there. https://bugzilla.gnome.org/show_bug.cgi?id=592211 --- diff --git a/gio/glocalfile.c b/gio/glocalfile.c index fe17e0c..9007faa 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -2408,6 +2408,16 @@ g_local_file_move (GFile *source, return TRUE; } +#ifdef G_OS_WIN32 + +static gboolean +is_remote (const gchar *filename) +{ + return FALSE; +} + +#else + static gboolean is_remote_fs (const gchar *filename) { @@ -2476,6 +2486,7 @@ is_remote (const gchar *filename) return FALSE; } +#endif /* !G_OS_WIN32 */ static GFileMonitor* g_local_file_monitor_dir (GFile *file,