[tracker-miners/tracker-miners-2.3: 1/2] Use #ifdef with config.h define variable HAVE_STATVFS64



commit 9ed2e5bd3672ce0345f34352dccd203ce2b84f65
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Dec 20 00:36:36 2019 +0000

    Use #ifdef with config.h define variable HAVE_STATVFS64
    
    This was causing build failures on non-Linux architectures
    such as Debian/Hurd.
    
    Fixes https://gitlab.gnome.org/GNOME/tracker/issues/169

 src/libtracker-miners-common/tracker-file-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-miners-common/tracker-file-utils.c 
b/src/libtracker-miners-common/tracker-file-utils.c
index 04a3e0070..9384960a3 100644
--- a/src/libtracker-miners-common/tracker-file-utils.c
+++ b/src/libtracker-miners-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]