diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-02-02 00:19:15 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-02-02 00:19:15 -0500 |
commit | 59372663f2ed57b60de7cbf2a3241cf9d7adbbea (patch) | |
tree | 318e843dccbcaecc2383db037df392e5fc8af20d /gio | |
parent | 477490786b05c25614620a47a4b7d6632aa6e480 (diff) | |
download | glib-59372663f2ed57b60de7cbf2a3241cf9d7adbbea.tar.gz |
Don't try to find nfs mounts on Windows
This should fix the build there.
https://bugzilla.gnome.org/show_bug.cgi?id=592211
Diffstat (limited to 'gio')
-rw-r--r-- | gio/glocalfile.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gio/glocalfile.c b/gio/glocalfile.c index fe17e0c10..9007faab5 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, |