mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
use autodetected support for gethostbyname_r
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user