On Fri, Feb 14, 2025 at 5:53 PM Werner Koch  wrote:
>
> On Thu, 13 Feb 2025 15:14, Marco Atzeri said:
> > Building on Cygwin 64 bit
>
> > What is supposed to be SOCKET ?
>
> This is used by Windows; configure.ac has this test:
>
>   # Check SOCKET type for Windows.
>   AC_CHECK_TYPES([SOCKET], [], [], [[#include "winsock2.h"]])
>
> > Posix does not define "SOCKET" in sys/socket.h
>
> Cygwin is a mix of WIndows and Posix and thus you will run into such
> problems.  Cygwin is not supported by GnuPG because you can build it
> native for Windows or use it with WSL.

Cygwin Users disagree ;-)

> I would suggest to run configure this way
>
>   ./configure ac_cv_type_SOCKET=no

It works as expected

Thanks
Marco

Cygwin package maintainer for gnupg packages

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel

Reply via email to