mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-23 07:38:16 +00:00
glibcompat: drop explicit check for g_list_free_full().
This commit is contained in:
parent
1150f50ed0
commit
27c8269b43
2 changed files with 1 additions and 4 deletions
|
@ -163,9 +163,6 @@ AC_SUBST(GTKDOC_VERSION)
|
|||
dnl Check for GLib
|
||||
AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
|
||||
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= glib_version])
|
||||
AC_CHECK_LIB([glib-2.0], [g_list_free_full], [
|
||||
AC_DEFINE([HAVE_G_LIST_FREE_FULL], [1],
|
||||
[Define to 1 if g_list_free_full() is available.])])
|
||||
|
||||
dnl Check for GStreamer
|
||||
PKG_CHECK_MODULES([GST],
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
#include <glib.h>
|
||||
|
||||
#ifndef HAVE_G_LIST_FREE_FULL
|
||||
#if !GLIB_CHECK_VERSION(2,27,2)
|
||||
static inline void
|
||||
g_list_free_full(GList *list, GDestroyNotify free_func)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue