From 4a800b311f5dfde74956edb29dee99998ba1ced1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Apr 2013 01:53:10 +0200 Subject: don't use g_thread_init() with GLib 2.32 Deprecated. --- src/Main.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Main.cxx b/src/Main.cxx index 35eaea4ee..49f466592 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -387,8 +387,10 @@ int mpd_main(int argc, char *argv[]) g_set_application_name("Music Player Daemon"); +#if !GLIB_CHECK_VERSION(2,32,0) /* enable GLib's thread safety code */ g_thread_init(NULL); +#endif io_thread_init(); winsock_init(); -- cgit v1.2.3