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
55e128cc
Commit
55e128cc
authored
Feb 17, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: various fixups for building without GLib
parent
13056af8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
4 deletions
+20
-4
FakeDecoderAPI.cxx
test/FakeDecoderAPI.cxx
+0
-2
dump_playlist.cxx
test/dump_playlist.cxx
+4
-0
dump_text_file.cxx
test/dump_text_file.cxx
+4
-0
read_tags.cxx
test/read_tags.cxx
+4
-0
run_filter.cxx
test/run_filter.cxx
+4
-0
run_normalize.cxx
test/run_normalize.cxx
+0
-2
run_output.cxx
test/run_output.cxx
+4
-0
No files found.
test/FakeDecoderAPI.cxx
View file @
55e128cc
...
...
@@ -23,8 +23,6 @@
#include "util/Error.hxx"
#include "Compiler.h"
#include <glib.h>
#include <unistd.h>
void
...
...
test/dump_playlist.cxx
View file @
55e128cc
...
...
@@ -33,7 +33,9 @@
#include "thread/Cond.hxx"
#include "Log.hxx"
#ifdef HAVE_GLIB
#include <glib.h>
#endif
#include <unistd.h>
#include <stdlib.h>
...
...
@@ -53,9 +55,11 @@ int main(int argc, char **argv)
/* initialize GLib */
#ifdef HAVE_GLIB
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init
(
NULL
);
#endif
#endif
/* initialize MPD */
...
...
test/dump_text_file.cxx
View file @
55e128cc
...
...
@@ -32,7 +32,9 @@
#include "archive/ArchiveList.hxx"
#endif
#ifdef HAVE_GLIB
#include <glib.h>
#endif
#include <unistd.h>
#include <stdio.h>
...
...
@@ -79,9 +81,11 @@ int main(int argc, char **argv)
/* initialize GLib */
#ifdef HAVE_GLIB
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init
(
NULL
);
#endif
#endif
/* initialize MPD */
...
...
test/read_tags.cxx
View file @
55e128cc
...
...
@@ -32,7 +32,9 @@
#include "thread/Cond.hxx"
#include "Log.hxx"
#ifdef HAVE_GLIB
#include <glib.h>
#endif
#include <assert.h>
#include <unistd.h>
...
...
@@ -88,9 +90,11 @@ int main(int argc, char **argv)
decoder_name
=
argv
[
1
];
const
Path
path
=
Path
::
FromFS
(
argv
[
2
]);
#ifdef HAVE_GLIB
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init
(
NULL
);
#endif
#endif
io_thread_init
();
io_thread_start
();
...
...
test/run_filter.cxx
View file @
55e128cc
...
...
@@ -32,7 +32,9 @@
#include "system/FatalError.hxx"
#include "Log.hxx"
#ifdef HAVE_GLIB
#include <glib.h>
#endif
#include <assert.h>
#include <string.h>
...
...
@@ -100,9 +102,11 @@ int main(int argc, char **argv)
/* initialize GLib */
#ifdef HAVE_GLIB
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init
(
NULL
);
#endif
#endif
/* read configuration file (mpd.conf) */
...
...
test/run_normalize.cxx
View file @
55e128cc
...
...
@@ -30,8 +30,6 @@
#include "util/Error.hxx"
#include "stdbin.h"
#include <glib.h>
#include <stddef.h>
#include <stdio.h>
#include <unistd.h>
...
...
test/run_output.cxx
View file @
55e128cc
...
...
@@ -37,7 +37,9 @@
#include "util/Error.hxx"
#include "Log.hxx"
#ifdef HAVE_GLIB
#include <glib.h>
#endif
#include <assert.h>
#include <string.h>
...
...
@@ -176,9 +178,11 @@ int main(int argc, char **argv)
AudioFormat
audio_format
(
44100
,
SampleFormat
::
S16
,
2
);
#ifdef HAVE_GLIB
#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init
(
NULL
);
#endif
#endif
/* read configuration file (mpd.conf) */
...
...
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