1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-01 04:47:16 +00:00

Skip deprecated g_type_init() for GLib 2.36

This commit is contained in:
Chilledheart
2014-06-10 11:18:02 +08:00
parent 66f7c265c0
commit e75ab63fe3
4 changed files with 8 additions and 0 deletions

View File

@@ -95,7 +95,9 @@ main(int argc, char *argv[])
GError *error = NULL;
TcpTransport *transport;
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init();
#endif
#ifdef WIN32
WSADATA wsadata;