1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

Fix closesocket test, patch by Serge Levin, serge.levin.spb gmail com.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27502 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-08-31 13:54:08 +00:00
parent 959c047930
commit ef7ea669d0

4
configure vendored
View File

@ -2899,9 +2899,9 @@ _closesocket=no
for header in "arpa/inet.h" "winsock2.h" ; do
cat > $TMPC << EOF
#include <$header>
int main(void) { closesocket(); return 0; }
int main(void) { closesocket(~0); return 0; }
EOF
cc_check && _closesocket=yes && break
cc_check $_ld_sock && _closesocket=yes && break
done
if test "$_closesocket" = yes ; then
_def_closesocket='#define HAVE_CLOSESOCKET 1'