gst/: Convergence is near. Seriously.
[platform/upstream/gstreamer.git] / gst / glib-compat.h
1 /*
2  * glib-compat.c
3  * Functions copied from glib 2.6 and 2.8
4  *
5  * Copyright 2005 David Schleef <ds@schleef.org>
6  */
7
8 #include <glib.h>
9 #if GLIB_CHECK_VERSION (2, 6, 0)
10 #include <glib/gstdio.h>
11 #endif
12
13 G_BEGIN_DECLS
14
15 #if !GLIB_CHECK_VERSION (2, 8, 0)
16 int g_mkdir_with_parents (const gchar *pathname, int          mode);
17 #endif
18
19 #if !GLIB_CHECK_VERSION (2, 6, 0)
20 int g_mkdir (const gchar *filename, int          mode);
21 #endif
22
23 #if !GLIB_CHECK_VERSION (2, 6, 0)
24 struct stat;
25
26 int g_stat (const gchar *filename, struct stat *buf);
27 #endif
28
29 G_END_DECLS
30