From e9b9ff9f38abc82c0a5002d5e58a5c226b698f82 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 5 Mar 2018 19:25:08 -0500 Subject: Various fixes for mingw --- src/common/plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/common/plugin.c') diff --git a/src/common/plugin.c b/src/common/plugin.c index b49afd96..ea174bed 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -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) { -- cgit 1.4.1