2005-11-21 18:03:22 +00:00
|
|
|
/*
|
|
|
|
* glib-compat.c
|
2007-09-19 13:28:40 +00:00
|
|
|
* Functions copied from glib 2.10
|
2005-11-21 18:03:22 +00:00
|
|
|
*
|
|
|
|
* Copyright 2005 David Schleef <ds@schleef.org>
|
|
|
|
*/
|
|
|
|
|
2010-09-28 20:46:29 +00:00
|
|
|
#ifndef __GLIB_COMPAT_PRIVATE_H__
|
|
|
|
#define __GLIB_COMPAT_PRIVATE_H__
|
|
|
|
|
2005-11-21 18:03:22 +00:00
|
|
|
#include <glib.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2010-07-16 16:53:38 +00:00
|
|
|
#if !GLIB_CHECK_VERSION(2,25,0)
|
2010-12-23 00:36:09 +00:00
|
|
|
|
|
|
|
#if defined (_MSC_VER) && !defined(_WIN64)
|
|
|
|
typedef struct _stat32 GStatBuf;
|
|
|
|
#else
|
2010-07-16 16:53:38 +00:00
|
|
|
typedef struct stat GStatBuf;
|
|
|
|
#endif
|
|
|
|
|
2010-12-23 00:36:09 +00:00
|
|
|
#endif
|
|
|
|
|
2010-09-27 22:35:08 +00:00
|
|
|
#if GLIB_CHECK_VERSION(2,26,0)
|
|
|
|
#define GLIB_HAS_GDATETIME
|
|
|
|
#endif
|
|
|
|
|
2005-11-21 18:03:22 +00:00
|
|
|
/* copies */
|
|
|
|
|
|
|
|
/* adaptations */
|
|
|
|
|
|
|
|
G_END_DECLS
|
2010-09-28 20:46:29 +00:00
|
|
|
|
|
|
|
#endif
|