build: Fix building plugins in cygwin
This commit is contained in:
parent
e68976ab39
commit
de157fcffd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user