aboutsummaryrefslogtreecommitdiff
path: root/lib/parse-time-vrp.h
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2020-04-22 00:07:29 +0300
committerDavid Bremner <david@tethera.net>2020-04-23 21:28:45 -0300
commit00cdfe10717020423870fdaf56e973db9aba9f5a (patch)
treec958339dfb55e818f51657b62e8f1831868b34bf /lib/parse-time-vrp.h
parente02bb7e9fdbc96c66f32ce531509824f8afd4686 (diff)
build: drop support for xapian versions less than 1.4
Xapian 1.4 is over 3 years old now (1.4.0 released 2016-06-24), and 1.2 has been deprecated in Notmuch version 0.27 (2018-06-13). Xapian 1.4 supports compaction, field processors and retry locking; conditionals checking compaction and field processors were removed but user may want to disable retry locking at configure time so it is kept.
Diffstat (limited to 'lib/parse-time-vrp.h')
-rw-r--r--lib/parse-time-vrp.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/parse-time-vrp.h b/lib/parse-time-vrp.h
index e6138d05..9fb1af60 100644
--- a/lib/parse-time-vrp.h
+++ b/lib/parse-time-vrp.h
@@ -39,9 +39,8 @@ public:
Xapian::valueno operator() (std::string &begin, std::string &end);
};
-#if HAVE_XAPIAN_FIELD_PROCESSOR
class DateFieldProcessor : public Xapian::FieldProcessor {
Xapian::Query operator() (const std::string & str);
};
-#endif
+
#endif /* NOTMUCH_PARSE_TIME_VRP_H */