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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user