mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
Use right define name for f_fstypename member check
2008-03-14 Alexander Larsson <alexl@redhat.com> * glocalfile.c: (g_local_file_query_filesystem_info): Use right define name for f_fstypename member check 2008-03-14 Alexander Larsson <alexl@redhat.com> * configure.in: Add required includes for f_fstypename member check. svn path=/trunk/; revision=6703
This commit is contained in:
parent
7dc75d707c
commit
7437486b36
@ -1,3 +1,8 @@
|
||||
2008-03-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* configure.in:
|
||||
Add required includes for f_fstypename member check.
|
||||
|
||||
2008-03-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* configure.in:
|
||||
|
@ -842,7 +842,12 @@ AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct
|
||||
AC_CHECK_MEMBERS([struct stat.st_blksize, struct stat.st_blocks, struct statfs.f_fstypename], [#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/mount.h>])
|
||||
#ifdef HAVE_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#ifdef HAVE_MOUNT_H
|
||||
#include <sys/mount.h>
|
||||
#endif])
|
||||
|
||||
# Checks for libcharset
|
||||
jm_LANGINFO_CODESET
|
||||
|
@ -1,3 +1,9 @@
|
||||
2008-03-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* glocalfile.c:
|
||||
(g_local_file_query_filesystem_info):
|
||||
Use right define name for f_fstypename member check
|
||||
|
||||
2008-03-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* Makefile.am:
|
||||
|
@ -1001,7 +1001,7 @@ g_local_file_query_filesystem_info (GFile *file,
|
||||
#endif
|
||||
}
|
||||
#ifdef USE_STATFS
|
||||
#if defined(HAVE_STRUCT_STATFS_FS_TYPENAME)
|
||||
#if defined(HAVE_STRUCT_STATFS_F_FSTYPENAME)
|
||||
fstype = g_strdup(statfs_buffer.f_fstypename);
|
||||
#else
|
||||
fstype = get_fs_type (statfs_buffer.f_type);
|
||||
|
Loading…
Reference in New Issue
Block a user