Merge branch 'master' into 0.11
[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
17 #if defined (_MSC_VER) && !defined(_WIN64)
18 typedef struct _stat32 GStatBuf;
19 #else
20 typedef struct stat GStatBuf;
21 #endif
22
23 #endif
24
25 #if GLIB_CHECK_VERSION(2,26,0)
26 #define GLIB_HAS_GDATETIME
27 #endif
28
29 /* copies */
30
31 /* adaptations */
32
33 G_END_DECLS
34
35 #endif