mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
gst/glib-compat.*: Attempt #4 to appease the buildbots.
Original commit message from CVS: * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat): * gst/glib-compat.h: Attempt #4 to appease the buildbots.
This commit is contained in:
parent
c8c43231fe
commit
3558f6a0b4
3 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2005-09-14 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
||||||
|
* gst/glib-compat.h:
|
||||||
|
Attempt #4 to appease the buildbots.
|
||||||
|
|
||||||
2005-09-14 David Schleef <ds@schleef.org>
|
2005-09-14 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
* gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
|
||||||
|
|
|
@ -28,28 +28,28 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
#if GLIB_CHECK_VERSION (2, 6, 0)
|
||||||
#include <glib/gstdio.h>
|
#include <glib/gstdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "glib-compat.h"
|
#include "glib-compat.h"
|
||||||
|
|
||||||
#if 0
|
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#ifdef HAVE_UNISTD_H
|
#ifdef HAVE_UNISTD_H
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include <sys/types.h>
|
||||||
|
#if 0
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#ifndef G_OS_WIN32
|
#ifndef G_OS_WIN32
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
#endif
|
#endif
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,8 @@ int g_mkdir (const gchar *filename, int mode);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !GLIB_CHECK_VERSION (2, 6, 0)
|
#if !GLIB_CHECK_VERSION (2, 6, 0)
|
||||||
|
struct stat;
|
||||||
|
|
||||||
int g_stat (const gchar *filename, struct stat *buf);
|
int g_stat (const gchar *filename, struct stat *buf);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue