diff options
Diffstat (limited to 'tests/test-fullmode.c')
-rw-r--r-- | tests/test-fullmode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test-fullmode.c b/tests/test-fullmode.c index 39aea0f..3a45acb 100644 --- a/tests/test-fullmode.c +++ b/tests/test-fullmode.c @@ -804,7 +804,10 @@ int main (void) const char *stun_server = NULL, *stun_server_port = NULL; g_type_init (); - g_thread_init (NULL); +#if !GLIB_CHECK_VERSION(2,31,8) + g_thread_init(NULL); +#endif + global_mainloop = g_main_loop_new (NULL, FALSE); /* Note: impl limits ... |