Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes:
>
>  #ifdef __MINGW32__
> +#define socklen_t int

That'd be better as a HAVE_SOCKLEN_T.

> +#ifndef __MINGW32__
>    struct ip_mreq opt_mreq;

And this would definitely be better as a HAVE_STRUCT_IP_MREQ or
whatever.

Testing for features rather than system names means you don't have to
keep adapting to each new system, and if mingw or whatever gains some
features in the future then they're automatically used.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to