aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-17 01:53:10 +0200
committerMax Kellermann <max@duempel.org>2013-04-17 01:54:14 +0200
commit4a800b311f5dfde74956edb29dee99998ba1ced1 (patch)
tree8768e1bb0faa7fc061811972845da521754792cf /test/run_output.cxx
parenta4a13a382525527afeecd18f97e948bd6d0de64c (diff)
downloadmpd-4a800b311f5dfde74956edb29dee99998ba1ced1.tar.gz
mpd-4a800b311f5dfde74956edb29dee99998ba1ced1.tar.xz
mpd-4a800b311f5dfde74956edb29dee99998ba1ced1.zip
don't use g_thread_init() with GLib 2.32
Deprecated.
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r--test/run_output.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 8c5007a9e..399d8e731 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -196,7 +196,9 @@ int main(int argc, char **argv)
audio_format_init(&audio_format, 44100, SAMPLE_FORMAT_S16, 2);
+#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(NULL);
+#endif
/* read configuration file (mpd.conf) */