Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN

This commit is contained in:
Mark Andrews 2001-05-10 05:09:06 +00:00
parent 4bd95a4965
commit ba4e2f658e

View file

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.43 $)
AC_REVISION($Revision: 1.44 $)
AC_INIT(resolv/herror.c)
AC_PREREQ(2.13)
@ -1514,6 +1514,12 @@ AC_SUBST(HOST_R_END_RETURN)
AC_SUBST(HOST_R_ENT_ARGS)
AC_CHECK_FUNC(sethostent_r,
AC_TRY_COMPILE([
#include <netdb.h>
extern void sethostent_r(int flag, struct hostent_data *ht_data);],[],
HOST_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/"
HOST_R_SET_RETURN="#define HOST_R_SET_RETURN void",
)
,
HOST_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/"
HOST_R_SET_RETURN="#define HOST_R_SET_RETURN void"