[MPlayer-cvslog] r30486 - trunk/configure
reimar
subversion at mplayerhq.hu
Tue Feb 2 19:57:43 CET 2010
Author: reimar
Date: Tue Feb 2 19:57:43 2010
New Revision: 30486
Log:
Revert r30324 which broken the struct addrinfo check by making it always pass.
Instead fix the MinGW64 issue properly by including ws2tcpip.h.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Feb 1 23:22:32 2010 (r30485)
+++ trunk/configure Tue Feb 2 19:57:43 2010 (r30486)
@@ -3152,12 +3152,13 @@ if test "$_struct_addrinfo" = auto; then
cat > $TMPC << EOF
#if HAVE_WINSOCK2_H
#include <winsock2.h>
+#include <ws2tcpip.h>
#else
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#endif
-int main(void) { struct addrinfo *ai; return 0; }
+int main(void) { struct addrinfo ai; return 0; }
EOF
cc_check $cc_check_winsock2_h && _struct_addrinfo=yes
fi
More information about the MPlayer-cvslog
mailing list