1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-07-21 03:04:15 -04:00

better fix for cases with missing inet_aton

svn path=/trunk/net/; revision=4500
This commit is contained in:
Karl Heyes 2003-03-17 16:47:20 +00:00
parent d0cf9fe000
commit 1ff64d456e

View File

@ -43,7 +43,7 @@ struct iovec
#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))
#endif