mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 12:22:14 +02:00
r12070@catbus: nickm | 2007-03-04 14:51:23 -0500
Fix a stray autoconf warning. svn:r9731
This commit is contained in:
parent
6b79e252f6
commit
238a13f3e6
@ -513,12 +513,12 @@ AC_CHECK_FUNC(gethostbyname_r, [
|
||||
CFLAGS="$CFLAGS $MY_CPPFLAGS $MY_THREAD_CPPFLAGS $MY_CFLAGS"
|
||||
AC_COMPILE_IFELSE(AC_LANG_PROGRAM([
|
||||
#include <netdb.h>
|
||||
], [
|
||||
], [[
|
||||
char *cp1, *cp2;
|
||||
struct hostent *h1, *h2;
|
||||
int i1, i2;
|
||||
(void)gethostbyname_r(cp1,h1,cp2,i1,&h2,&i2);
|
||||
]),[
|
||||
]]),[
|
||||
AC_DEFINE(HAVE_GETHOSTBYNAME_R)
|
||||
AC_DEFINE(HAVE_GETHOSTBYNAME_R_6_ARG, 1,
|
||||
[Define this if gethostbyname_r takes 6 arguments])
|
||||
|
Loading…
Reference in New Issue
Block a user