mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-09-01 03:54:15 -04:00
better fix for cases with missing inet_aton
svn path=/trunk/net/; revision=4500
This commit is contained in:
parent
d0cf9fe000
commit
1ff64d456e
@ -43,7 +43,7 @@ struct iovec
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_INET_PTON
|
#if !defined(HAVE_INET_ATON) && defined(HAVE_INET_PTON)
|
||||||
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
|
#define inet_aton(a,b) inet_pton(AF_INET, (a), (b))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user