mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 11:12:19 -05:00
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)
|
||||
#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" };
|
||||
|
||||
struct dccstat_info dccstat[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user