Mercurial > mplayer.hg
changeset 30282:94876ebd061d
Fix struct addrinfo check, its definition might not allow actually allocating it.
Fixes MinGW64 compilation.
author | reimar |
---|---|
date | Sat, 16 Jan 2010 16:22:57 +0000 |
parents | 7d96135e445c |
children | 11cf732119e4 |
files | configure |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jan 16 16:16:50 2010 +0000 +++ b/configure Sat Jan 16 16:22:57 2010 +0000 @@ -3121,7 +3121,7 @@ #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