don't use g_thread_init() with GLib 2.32

Deprecated.
This commit is contained in:
Max Kellermann
2013-04-17 01:53:10 +02:00
parent a4a13a3825
commit 4a800b311f
11 changed files with 30 additions and 0 deletions

View File

@@ -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();