datetime: Use GDateTime if available
[platform/upstream/gstreamer.git] / gst / glib-compat-private.h
1 /*
2  * glib-compat.c
3  * Functions copied from glib 2.10
4  *
5  * Copyright 2005 David Schleef <ds@schleef.org>
6  */
7
8 #ifndef __GLIB_COMPAT_PRIVATE_H__
9 #define __GLIB_COMPAT_PRIVATE_H__
10
11 #include <glib.h>
12
13 G_BEGIN_DECLS
14
15 #if !GLIB_CHECK_VERSION(2,25,0)
16 typedef struct stat GStatBuf;
17 #endif
18
19 #if GLIB_CHECK_VERSION(2,26,0)
20 #define GLIB_HAS_GDATETIME
21 #endif
22
23 /* copies */
24
25 /* adaptations */
26
27 G_END_DECLS
28
29 #endif