From 59372663f2ed57b60de7cbf2a3241cf9d7adbbea Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 2 Feb 2013 00:19:15 -0500 Subject: [PATCH] Don't try to find nfs mounts on Windows This should fix the build there. https://bugzilla.gnome.org/show_bug.cgi?id=592211 --- gio/glocalfile.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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, -- 2.7.4