提交 429cdca5 authored 作者: Michael Jerris's avatar Michael Jerris

fix iax win32 build for inet_aton

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1136 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ecc2a3ba
......@@ -36,7 +36,7 @@
#endif
void gettimeofday(struct timeval *tv, void /*struct timezone*/ *tz);
#include "winpoop.h"
#else
......
......@@ -24,7 +24,6 @@ void gettimeofday(struct timeval *tv, void /*struct timezone*/ *tz);
static INLINE int inet_aton(char *cp, struct in_addr *inp)
{
int res;
int a1, a2, a3, a4;
unsigned int saddr;
if (sscanf(cp, "%d.%d.%d.%d", &a1, &a2, &a3, &a4) != 4)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论