1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05: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 33bc36b3f5
commit 0b1a75fd31

View File

@ -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