[MPlayer-cvslog] r30324 - trunk/configure

reimar subversion at mplayerhq.hu
Sat Jan 16 17:22:58 CET 2010


Author: reimar
Date: Sat Jan 16 17:22:57 2010
New Revision: 30324

Log:
Fix struct addrinfo check, its definition might not allow actually allocating it.
Fixes MinGW64 compilation.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Sat Jan 16 17:16:50 2010	(r30323)
+++ trunk/configure	Sat Jan 16 17:22:57 2010	(r30324)
@@ -3121,7 +3121,7 @@ if test "$_struct_addrinfo" = auto; then
 #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