mirror of
git://git.gnupg.org/gnupg.git
synced 2025-06-12 18:11:03 +02:00
agent: Allow building under Cygwin.
* agent/command-ssh.c (start_command_handler_ssh): Firther protect the SOCKET cast. -- Note that Cygwin is not supported, YMMV. GnuPG-bug-id: 7667
This commit is contained in:
parent
0c7e7ec0c8
commit
1587b387c0
@ -3958,7 +3958,7 @@ start_command_handler_ssh (ctrl_t ctrl, gnupg_fd_t sock_client)
|
||||
es_syshd_t syshd;
|
||||
|
||||
syshd.type = ES_SYSHD_SOCK;
|
||||
#ifdef HAVE_SOCKET
|
||||
#if defined(HAVE_SOCKET) && defined(HAVE_W32_SYSTEM)
|
||||
syshd.u.sock = (SOCKET)sock_client;
|
||||
#else
|
||||
syshd.u.sock = sock_client;
|
||||
|
Loading…
x
Reference in New Issue
Block a user