1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-25 04:18:07 +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

@@ -86,7 +86,9 @@ main(int argc, char *argv[])
char buf[BUFLEN];
packet *pac, *pac_ret;
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init();
#endif
#ifdef WIN32
WSADATA wsadata;