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
1 changed files with 1 additions and 1 deletions

View File

@ -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