From de157fcffdd9ed499cb7d1455059591feb37707d Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Mon, 26 Jun 2017 16:41:10 -0400 Subject: [PATCH] build: Fix building plugins in cygwin --- src/common/hexchat-plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hexchat-plugin.h b/src/common/hexchat-plugin.h index 002c0c49..f5f04b19 100644 --- a/src/common/hexchat-plugin.h +++ b/src/common/hexchat-plugin.h @@ -406,7 +406,7 @@ int hexchat_pluginpref_list (hexchat_plugin *ph, char *dest); -#if !defined(PLUGIN_C) && defined(WIN32) +#if !defined(PLUGIN_C) && (defined(WIN32) || defined(__CYGWIN__)) #ifndef HEXCHAT_PLUGIN_HANDLE #define HEXCHAT_PLUGIN_HANDLE (ph) #endif