Commit 238a13f3 authored by Nick Mathewson's avatar Nick Mathewson
Browse files

r12070@catbus: nickm | 2007-03-04 14:51:23 -0500

 Fix a stray autoconf warning.


svn:r9731
parent 6b79e252
......@@ -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])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment