diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-23 16:54:54 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-23 16:54:54 +0000 |
commit | 2c178adeff873d3cc5cde1d404c0a3199b8058b8 (patch) | |
tree | 559f50623782fde4862b4ae0fac7e839329aee4d | |
parent | 3aec4109a4ad01617867f256e152c1909d61d8e2 (diff) |
use autodetected support for gethostbyname_r
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@45989 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/utils.c b/main/utils.c index 482bb3eaf..c38bce0cc 100644 --- a/main/utils.c +++ b/main/utils.c @@ -67,7 +67,7 @@ static char b2a[256]; AST_THREADSTORAGE(inet_ntoa_buf); -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__) +#if !defined(HAVE_GETHOSTBYNAME_R) #define ERANGE 34 /*!< duh? ERANGE value copied from web... */ #undef gethostbyname |