From 633fd86815fafa0ffb9cd0d8e5b958b0d3abe141 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Tue, 26 Jul 2011 11:20:12 +0200 Subject: [PATCH] glocalfile: don't bother with fstype on win32 Fixes the broken build on Windows. --- gio/glocalfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/glocalfile.c b/gio/glocalfile.c index 4143fbe..bc810bf 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -992,6 +992,8 @@ g_local_file_query_filesystem_info (GFile *file, #endif #endif } + +#ifndef G_OS_WIN32 #ifdef USE_STATFS #if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME) fstype = g_strdup(statfs_buffer.f_fstypename); @@ -1005,7 +1007,6 @@ g_local_file_query_filesystem_info (GFile *file, fstype = NULL; #endif -#ifndef G_OS_WIN32 if (fstype && g_file_attribute_matcher_matches (attribute_matcher, G_FILE_ATTRIBUTE_FILESYSTEM_TYPE)) -- 2.7.4