[tracker: 20/21] libtracker-data: Fix define for glib < 2.52.0



commit bd00a0edbc44f492ac390d50258c9b761e05424b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Sun Feb 17 17:08:31 2019 +0100

    libtracker-data: Fix define for glib < 2.52.0
    
    We fallback on libuuid with older glibs, but the #ifdef got the
    condition wrong.

 src/libtracker-data/tracker-uuid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/tracker-uuid.c b/src/libtracker-data/tracker-uuid.c
index fec35efa4..e7962bcfd 100644
--- a/src/libtracker-data/tracker-uuid.c
+++ b/src/libtracker-data/tracker-uuid.c
@@ -21,7 +21,7 @@
 #include "config.h"
 #include "tracker-uuid.h"
 
-#if GLIB_CHECK_VERSION (2, 52, 0)
+#if ! GLIB_CHECK_VERSION (2, 52, 0)
 #include <uuid/uuid.h>
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]