[tracker/sam/fix-have-statvfs64-check] Use #ifdef with config.h define variable HAVE_STATVFS64
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/fix-have-statvfs64-check] Use #ifdef with config.h define variable HAVE_STATVFS64
- Date: Thu, 19 Dec 2019 23:35:46 +0000 (UTC)
commit 9d72f656c117a7328801f70eb7444b1160a5d706
Author: Sam Thursfield <sam afuera me uk>
Date: Thu Dec 19 23:32:20 2019 +0000
Use #ifdef with config.h define variable HAVE_STATVFS64
This was causing build failures on several architectures, presumably
since the switch to Meson build system in 2.3.0.
Fixes https://gitlab.gnome.org/GNOME/tracker/issues/169
src/libtracker-common/tracker-file-utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-common/tracker-file-utils.c b/src/libtracker-common/tracker-file-utils.c
index 57ced9142..53e39128b 100644
--- a/src/libtracker-common/tracker-file-utils.c
+++ b/src/libtracker-common/tracker-file-utils.c
@@ -253,7 +253,7 @@ tracker_file_get_mime_type (GFile *file)
#define __bsize f_frsize
-#if HAVE_STATVFS64
+#ifdef HAVE_STATVFS64
#define __statvfs statvfs64
#else
#define __statvfs statvfs
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]