mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
glocalfile: don't bother with fstype on win32
Fixes the broken build on Windows.
This commit is contained in:
parent
12f516b44c
commit
633fd86815
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user