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