mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
glue/glib: g_thread_supported() is deprecated in GLib 2.36
https://bugzilla.gnome.org/show_bug.cgi?id=700875
This commit is contained in:
parent
23537b22f4
commit
8d970ba978
1 changed files with 4 additions and 0 deletions
|
@ -27,5 +27,9 @@ gboolean gstglibsharp_g_thread_supported (void);
|
|||
gboolean
|
||||
gstglibsharp_g_thread_supported ()
|
||||
{
|
||||
#if !GLIB_CHECK_VERSION (2, 35, 0)
|
||||
return g_thread_supported ();
|
||||
#else
|
||||
return TRUE;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue