diff options
author | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-30 12:42:24 +0000 |
---|---|---|
committer | Wojciech Meyer <wojciech.meyer@gmail.com> | 2013-06-30 12:42:24 +0000 |
commit | edec3c55f6087c04c304b3401e1195926a58ecef (patch) | |
tree | 3323cec4b634497285447e99dd614182a2f58ab1 /otherlibs/win32unix/accept.c | |
parent | 1e064ceb55154ebb00df7482fc224973fea62c7c (diff) |
configure: add a special case to test for BSD sockets for mingw.
(Patch by Adrien Nader!)
I tried to use "hasgot" to test it but proved too difficult since you
must #include <winsock2.h> to make link succeed (windows magic) which
then makes gcc complain about the prototype being wrong.
Since windows already needs a special case in order to add -lws2_32 and
since we know for sure it will be available, skip the hasgot test and
check $target directly.
configure: add a special case to test for BSD sockets for mingw.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13855 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/accept.c')
0 files changed, 0 insertions, 0 deletions