Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bea3b954
Commit
bea3b954
authored
Nov 04, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson.build, SongUpdate: disable db-specific archive code if -Ddatabase=false
Fixes another build failure.
parent
129d8e89
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
meson.build
meson.build
+4
-1
SongUpdate.cxx
src/SongUpdate.cxx
+2
-2
No files found.
meson.build
View file @
bea3b954
...
...
@@ -385,8 +385,11 @@ endif
if archive_glue_dep.found()
sources += [
'src/TagArchive.cxx',
'src/db/update/Archive.cxx',
]
if enable_database
sources += ['src/db/update/Archive.cxx']
endif
endif
if is_windows
...
...
src/SongUpdate.cxx
View file @
bea3b954
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment