mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
glocalfile: don't bother with fstype on win32
Fixes the broken build on Windows.
This commit is contained in:
@@ -992,6 +992,8 @@ g_local_file_query_filesystem_info (GFile *file,
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
#ifdef USE_STATFS
|
#ifdef USE_STATFS
|
||||||
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
|
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
|
||||||
fstype = g_strdup(statfs_buffer.f_fstypename);
|
fstype = g_strdup(statfs_buffer.f_fstypename);
|
||||||
@@ -1005,7 +1007,6 @@ g_local_file_query_filesystem_info (GFile *file,
|
|||||||
fstype = NULL;
|
fstype = NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef G_OS_WIN32
|
|
||||||
if (fstype &&
|
if (fstype &&
|
||||||
g_file_attribute_matcher_matches (attribute_matcher,
|
g_file_attribute_matcher_matches (attribute_matcher,
|
||||||
G_FILE_ATTRIBUTE_FILESYSTEM_TYPE))
|
G_FILE_ATTRIBUTE_FILESYSTEM_TYPE))
|
||||||
|
Reference in New Issue
Block a user