mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 15:21:41 +01:00
lib: fix build on !HAVE_XAPIAN_COMPACT
Minimal change to build notmuch against xapian that doesn't have compaction support.
This commit is contained in:
parent
2a26f61421
commit
8e4900b8a7
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue