From 0b1a75fd315781c3b705202ebd80b81c8df310e3 Mon Sep 17 00:00:00 2001 From: Karl Heyes Date: Mon, 17 Mar 2003 16:47:20 +0000 Subject: [PATCH] better fix for cases with missing inet_aton svn path=/trunk/net/; revision=4500 --- src/net/sock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/sock.h b/src/net/sock.h index c4d78e73..02925155 100644 --- a/src/net/sock.h +++ b/src/net/sock.h @@ -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