Silences compiler warnings about redefining a macro.
---
 lib/database-private.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/database-private.h b/lib/database-private.h
index 61232f1a..2959b3ac 100644
--- a/lib/database-private.h
+++ b/lib/database-private.h
@@ -35,6 +35,7 @@
 #define ARRAY_SIZE(arr) (sizeof (arr) / sizeof (arr[0]))
 
 #ifdef SILENCE_XAPIAN_DEPRECATION_WARNINGS
+#undef XAPIAN_DEPRECATED
 #define XAPIAN_DEPRECATED(D) D
 #endif
 
-- 
2.39.5

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to