Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gst/glib-compat-private.h')
-rw-r--r--gst/glib-compat-private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/glib-compat-private.h b/gst/glib-compat-private.h
index 8f37de205e..617a50e4d1 100644
--- a/gst/glib-compat-private.h
+++ b/gst/glib-compat-private.h
@@ -30,6 +30,9 @@ G_BEGIN_DECLS
/* copies */
/* adaptations */
+#if !GLIB_CHECK_VERSION(2, 67, 4)
+#define g_memdup2(ptr,sz) ((G_LIKELY(((guint64)(sz)) < G_MAXUINT)) ? g_memdup(ptr,sz) : (g_abort(),NULL))
+#endif
G_END_DECLS