Don't try to find nfs mounts on Windows
authorMatthias Clasen <mclasen@redhat.com>
Sat, 2 Feb 2013 05:19:15 +0000 (00:19 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 2 Feb 2013 05:19:15 +0000 (00:19 -0500)
This should fix the build there.
https://bugzilla.gnome.org/show_bug.cgi?id=592211

gio/glocalfile.c

index fe17e0c..9007faa 100644 (file)
@@ -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,