diff options
author | Max Kellermann <max@musicpd.org> | 2019-11-04 14:12:07 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-11-04 14:15:48 +0100 |
commit | bea3b954a53418d820b8e59b7258fc9f637b18ca (patch) | |
tree | 96810399b571bf2d3503f9cd91ec0f70dfd96cc1 /src | |
parent | 129d8e89b9189d88e4da970ed642f4b9ca731574 (diff) |
meson.build, SongUpdate: disable db-specific archive code if -Ddatabase=false
Fixes another build failure.
Diffstat (limited to 'src')
-rw-r--r-- | src/SongUpdate.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SongUpdate.cxx b/src/SongUpdate.cxx index 0d22ff1d8..0743216a7 100644 --- a/src/SongUpdate.cxx +++ b/src/SongUpdate.cxx @@ -98,8 +98,6 @@ Song::UpdateFile(Storage &storage) noexcept return true; } -#endif - #ifdef ENABLE_ARCHIVE Song * @@ -145,6 +143,8 @@ Song::UpdateFileInArchive(ArchiveFile &archive) noexcept #endif +#endif /* ENABLE_DATABASE */ + bool DetachedSong::LoadFile(Path path) noexcept { |