build: Fix building plugins in cygwin

This commit is contained in:
Patrick Griffis 2017-06-26 16:41:10 -04:00
parent e68976ab39
commit de157fcffd

View File

@ -406,7 +406,7 @@ int
hexchat_pluginpref_list (hexchat_plugin *ph, hexchat_pluginpref_list (hexchat_plugin *ph,
char *dest); char *dest);
#if !defined(PLUGIN_C) && defined(WIN32) #if !defined(PLUGIN_C) && (defined(WIN32) || defined(__CYGWIN__))
#ifndef HEXCHAT_PLUGIN_HANDLE #ifndef HEXCHAT_PLUGIN_HANDLE
#define HEXCHAT_PLUGIN_HANDLE (ph) #define HEXCHAT_PLUGIN_HANDLE (ph)
#endif #endif