From 7152e9b48317ac07f281f7958296ccb459eb1793 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 22 Mar 1999 21:46:06 +0000 Subject: [PATCH] Add symbols for gethostbyname_r variants (sigh). --- acconfig.h | 15 +++++++++++++++ config.h.in | 15 ++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/acconfig.h b/acconfig.h index 55c3db736b4..4270574d9b9 100644 --- a/acconfig.h +++ b/acconfig.h @@ -31,6 +31,21 @@ /* Define this if your time.h defines altzone */ #undef HAVE_ALTZONE +/* Define this if you have gethostbyname() */ +#undef HAVE_GETHOSTBTNAME + +/* Define this if you have some version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R + +/* Define this if you have the 3-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_3_ARG + +/* Define this if you have the 5-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_5_ARG + +/* Define this if you have the 6-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_6_ARG + /* Define this if you have the type long long */ #undef HAVE_LONG_LONG diff --git a/config.h.in b/config.h.in index 0c95dd0350e..0dc3f47c717 100644 --- a/config.h.in +++ b/config.h.in @@ -92,6 +92,18 @@ /* Define this if your time.h defines altzone */ #undef HAVE_ALTZONE +/* Define this if you have some version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R + +/* Define this if you have the 3-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_3_ARG + +/* Define this if you have the 5-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_5_ARG + +/* Define this if you have the 6-arg version of gethostbyname_r() */ +#undef HAVE_GETHOSTBYNAME_R_6_ARG + /* Define this if you have the type long long */ #undef HAVE_LONG_LONG @@ -241,9 +253,6 @@ /* Define if you have the getcwd function. */ #undef HAVE_GETCWD -/* Define if you have the gethostname_r function. */ -#undef HAVE_GETHOSTNAME_R - /* Define if you have the getpeername function. */ #undef HAVE_GETPEERNAME