diff options
author | Jani Nikula <jani@nikula.org> | 2013-10-28 15:09:19 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-10-30 21:16:22 -0300 |
commit | 8e4900b8a7dc04eeb0bc57d5e4271034d21db87d (patch) | |
tree | 6715fe9659acc4eb1b62313592bab8ad3de4eb11 | |
parent | 2a26f61421d0783632a420f561853aa0e70b8eb7 (diff) |
lib: fix build on !HAVE_XAPIAN_COMPACT
Minimal change to build notmuch against xapian that doesn't have
compaction support.
-rw-r--r-- | lib/database.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/database.cc b/lib/database.cc index 06f1c0a1..20e5ec23 100644 --- a/lib/database.cc +++ b/lib/database.cc @@ -944,7 +944,9 @@ DONE: } #else notmuch_status_t -notmuch_database_compact_close (unused (notmuch_database_t *notmuch)) +notmuch_database_compact (unused (const char* path), + unused (const char* backup_path), + unused (notmuch_compact_status_cb_t status_cb)) { fprintf (stderr, "notmuch was compiled against a xapian version lacking compaction support.\n"); return NOTMUCH_STATUS_UNSUPPORTED_OPERATION; |