summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gstreamer-sharp/glue/glib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gstreamer-sharp/glue/glib.c b/gstreamer-sharp/glue/glib.c
index 1b5dfaa..5a0510a 100644
--- a/gstreamer-sharp/glue/glib.c
+++ b/gstreamer-sharp/glue/glib.c
@@ -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
}