mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
Fix compilation under Cygwin (patch #6916)
This commit is contained in:
@@ -1967,7 +1967,7 @@ config_weechat_init_options ()
|
||||
N_("standard plugins extension in filename (for example "
|
||||
"\".so\" under Linux or \".dll\" under Microsoft Windows)"),
|
||||
NULL, 0, 0,
|
||||
#ifdef WIN32
|
||||
#if defined(WIN32) || defined(__CYGWIN__)
|
||||
".dll",
|
||||
#else
|
||||
".so",
|
||||
|
||||
@@ -897,7 +897,7 @@ network_connect_with_fork (struct t_hook *hook_connect)
|
||||
any suggestion is welcome to improve that!
|
||||
*/
|
||||
network_connect_child (hook_connect);
|
||||
network_connect_child_read_cb (hook_connect);
|
||||
network_connect_child_read_cb (hook_connect, 0);
|
||||
#else
|
||||
switch (pid = fork ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user