Fix compilation on Unix with GLib 2.24 or older
This commit is contained in:
parent
aa917d568f
commit
464b005c97
|
@ -69,6 +69,15 @@
|
||||||
#define BIG_STR_TO_INT(x) strtoul(x,NULL,10)
|
#define BIG_STR_TO_INT(x) strtoul(x,NULL,10)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* This is practically copy-paste from gstdio.h.
|
||||||
|
* GStatBuf was added in 2.26. On Win32 we already use that,
|
||||||
|
* so we only gotta check this on Unix */
|
||||||
|
#ifndef WIN32
|
||||||
|
#if !GLIB_CHECK_VERSION(2,26,0)
|
||||||
|
typedef struct stat GStatBuf;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static char *dcctypes[] = { "SEND", "RECV", "CHAT", "CHAT" };
|
static char *dcctypes[] = { "SEND", "RECV", "CHAT", "CHAT" };
|
||||||
|
|
||||||
struct dccstat_info dccstat[] = {
|
struct dccstat_info dccstat[] = {
|
||||||
|
|
Loading…
Reference in New Issue