From 3b222d68b0df4b3cc6d8271700703f495913b0ca Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 1 Feb 2009 13:33:35 +0000 Subject: HAVE_ATON --> HAVE_INET_ATON to match FFmpeg and give it a 0/1 value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28435 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/udp.c') diff --git a/stream/udp.c b/stream/udp.c index e7ac97f597..86fdc1941d 100644 --- a/stream/udp.c +++ b/stream/udp.c @@ -92,11 +92,11 @@ udp_open_socket (URL_t *url) else { #ifndef HAVE_WINSOCK2_H -#ifdef HAVE_ATON +#if HAVE_INET_ATON inet_aton (url->hostname, &server_address.sin_addr); #else inet_pton (AF_INET, url->hostname, &server_address.sin_addr); -#endif /* HAVE_ATON */ +#endif /* HAVE_INET_ATON */ #else server_address.sin_addr.s_addr = htonl(INADDR_ANY); #endif /* HAVE_WINSOCK2_H */ -- cgit v1.2.3