[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] mingw32 and sockets
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] mingw32 and sockets |
Date: |
Thu, 22 Sep 2005 15:27:38 +0200 |
User-agent: |
KMail/1.5 |
Simon Josefsson wrote:
> Would it be possible to create those three POSIX header files if they
> don't exist on the system, and if winsock2.h do exist? The created
> files would simply #include <winsock2.h>.
Yes, that's the way I would go.
> Creating them would be done
> like getopt_.h and others. The complication is that this has to be
> done in a sub-directory somehow, so that #include for sys/socket.h
> works.
Sure. It makes the Makefile.am snippet a little more complicated than for
the getopt_.h case, because you need a 'distclean-local' rule that does a
'rmdir sys'. But then it will work as smoothly as getopt_.h.
> Perhaps this should be considered a mingw32 bug instead?
It would be if the mingw people reach out for POSIX compliance. Do they?
I was under the impression that Cygwin attempts to be POSIX compliant,
but mingw was designed to be only a thin layer above MSVCRT.
Bruno
- mingw32 and sockets, Simon Josefsson, 2005/09/21
- Re: mingw32 and sockets, Paul Eggert, 2005/09/21
- Re: mingw32 and sockets, John Vandenberg, 2005/09/21
- Re: [bug-gnulib] mingw32 and sockets,
Bruno Haible <=
- Re: mingw32 and sockets, Simon Josefsson, 2005/09/23
- Re: mingw32 and sockets, Bruno Haible, 2005/09/26
- Re: mingw32 and sockets, Derek Price, 2005/09/27
- Re: mingw32 and sockets, Ingolf Steinbach, 2005/09/27
- Re: mingw32 and sockets, Derek Price, 2005/09/27
- Re: mingw32 and sockets, Ingolf Steinbach, 2005/09/28
- Re: mingw32 and sockets, Bruno Haible, 2005/09/27
- RE: mingw32 and sockets, Conrad T. Pino, 2005/09/28
- Re: mingw32 and sockets, Derek Price, 2005/09/27
- Re: mingw32 and sockets, Simon Josefsson, 2005/09/28