guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile 2.0.9 build on mingw


From: Ludovic Courtès
Subject: Re: guile 2.0.9 build on mingw
Date: Sun, 16 Jun 2013 16:19:35 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Eli Zaretskii <address@hidden> skribis:

> Actually, that was wrong: the use of AF_UNIX is already conditioned on
> its being available.  The problem is elsewhere: socket.c failed to
> condition its availability on HAVE_UNIX_DOMAIN_SOCKETS.  Fixed thusly:
>
> --- libguile/socket.c~0       2013-03-18 23:30:13.000000000 +0200
> +++ libguile/socket.c 2013-06-13 06:58:36.917359500 +0300
> @@ -1737,8 +1737,10 @@ scm_init_socket ()
>    scm_c_define ("AF_UNSPEC", scm_from_int (AF_UNSPEC));
>  #endif
>  #ifdef AF_UNIX
> +#ifdef HAVE_UNIX_DOMAIN_SOCKETS
>    scm_c_define ("AF_UNIX", scm_from_int (AF_UNIX));
>  #endif
> +#endif
>  #ifdef AF_INET
>    scm_c_define ("AF_INET", scm_from_int (AF_INET));
>  #endif

Applied, thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]