mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
c7e5bc1e5d
Use GDateTime internally on GstDateTime if glib already provides it. https://bugzilla.gnome.org/show_bug.cgi?id=628408
29 lines
404 B
C
29 lines
404 B
C
/*
|
|
* glib-compat.c
|
|
* Functions copied from glib 2.10
|
|
*
|
|
* Copyright 2005 David Schleef <ds@schleef.org>
|
|
*/
|
|
|
|
#ifndef __GLIB_COMPAT_PRIVATE_H__
|
|
#define __GLIB_COMPAT_PRIVATE_H__
|
|
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
#if !GLIB_CHECK_VERSION(2,25,0)
|
|
typedef struct stat GStatBuf;
|
|
#endif
|
|
|
|
#if GLIB_CHECK_VERSION(2,26,0)
|
|
#define GLIB_HAS_GDATETIME
|
|
#endif
|
|
|
|
/* copies */
|
|
|
|
/* adaptations */
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|