gstreamer/gst/glib-compat-private.h
Tim-Philipp Müller b987febf09 registry: use GStatBuf unconditionally and add typedef for backwards compatibility
No need to clutter the code with #if #else #endif.

See #623875.
2010-07-16 17:55:07 +01:00

21 lines
306 B
C

/*
* glib-compat.c
* Functions copied from glib 2.10
*
* Copyright 2005 David Schleef <ds@schleef.org>
*/
#include "gst_private.h" /* for g_warning */
#include <glib.h>
G_BEGIN_DECLS
#if !GLIB_CHECK_VERSION(2,25,0)
typedef struct stat GStatBuf;
#endif
/* copies */
/* adaptations */
G_END_DECLS