Fix struct addrinfo check, its definition might not allow actually allocating it.

Fixes MinGW64 compilation.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30324 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar committed 2010-01-16 16:22:57 +00:00
1 parent a12d96e87e
commit cd2dbe5939
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -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