summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2017-06-26 16:41:10 -0400
committerPatrick Griffis <tingping@tingping.se>2017-06-26 16:41:10 -0400
commitde157fcffdd9ed499cb7d1455059591feb37707d (patch)
tree907853619f4c8a2d76d4ea039f62ab33fea13710 /src/common
parente68976ab397606c991d54f437a268d2e07196789 (diff)
build: Fix building plugins in cygwin
Diffstat (limited to 'src/common')
-rw-r--r--src/common/hexchat-plugin.h2
1 files changed, 1 insertions, 1 deletions
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