aboutsummaryrefslogtreecommitdiffstats
path: root/test/DumpDatabase.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/DumpDatabase.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx
index ba0e74e43..ddafd626c 100644
--- a/test/DumpDatabase.cxx
+++ b/test/DumpDatabase.cxx
@@ -88,7 +88,10 @@ main(int argc, char **argv)
/* initialize GLib */
+#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(nullptr);
+#endif
+
g_log_set_default_handler(my_log_func, nullptr);
/* initialize MPD */