mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
First take on a W32 port
This commit is contained in:
parent
e0e1585fc8
commit
4a73d94757
22 changed files with 1476 additions and 41 deletions
|
@ -31,8 +31,12 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#ifdef _WIN32
|
||||
#include <winsock2.h>
|
||||
#else
|
||||
#include <sys/socket.h>
|
||||
#include <sys/un.h>
|
||||
#endif
|
||||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
@ -255,6 +259,9 @@ agent_send_all_options (int fd)
|
|||
static int
|
||||
agent_open (int *rfd)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
return SPWQ_NO_AGENT; /* FIXME */
|
||||
#else
|
||||
int rc;
|
||||
int fd;
|
||||
char *infostr, *p;
|
||||
|
@ -346,6 +353,7 @@ agent_open (int *rfd)
|
|||
|
||||
*rfd = fd;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue