Various fixes for mingw

This commit is contained in:
Patrick Griffis
2018-03-05 19:25:08 -05:00
parent 9b8a7eaa01
commit e9b9ff9f38
13 changed files with 61 additions and 33 deletions

View File

@@ -200,13 +200,15 @@ plugin_list_add (hexchat_context *ctx, char *filename, const char *name,
return pl;
}
#ifndef WIN32
static void *
hexchat_dummy (hexchat_plugin *ph)
{
return NULL;
}
#ifdef WIN32
#else
static int
hexchat_read_fd (hexchat_plugin *ph, GIOChannel *source, char *buf, int *len)
{