diff --git a/gst/indexers/gstfileindex.c b/gst/indexers/gstfileindex.c index 8c9f68b8a5..b083465fc2 100644 --- a/gst/indexers/gstfileindex.c +++ b/gst/indexers/gstfileindex.c @@ -37,6 +37,10 @@ #define GST_IS_FILE_INDEX_CLASS(obj) \ (GST_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_FILE_INDEX)) +#ifndef __FUNCTION__ +#define __FUNCTION__ "Unavailable" +#endif + /* * Object model: * diff --git a/plugins/indexers/gstfileindex.c b/plugins/indexers/gstfileindex.c index 8c9f68b8a5..b083465fc2 100644 --- a/plugins/indexers/gstfileindex.c +++ b/plugins/indexers/gstfileindex.c @@ -37,6 +37,10 @@ #define GST_IS_FILE_INDEX_CLASS(obj) \ (GST_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_FILE_INDEX)) +#ifndef __FUNCTION__ +#define __FUNCTION__ "Unavailable" +#endif + /* * Object model: *