summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-03-22 21:46:06 (GMT)
committerGuido van Rossum <guido@python.org>1999-03-22 21:46:06 (GMT)
commit7152e9b48317ac07f281f7958296ccb459eb1793 (patch)
treeffb446642e3c614e82d1767be64884d8b481dd23
parent3baaa1375ba03cf2d7fa3af884d6a99294c2587a (diff)
downloadcpython-7152e9b48317ac07f281f7958296ccb459eb1793.zip
cpython-7152e9b48317ac07f281f7958296ccb459eb1793.tar.gz
cpython-7152e9b48317ac07f281f7958296ccb459eb1793.tar.bz2
Add symbols for gethostbyname_r variants (sigh).
-rw-r--r--acconfig.h15
-rw-r--r--config.h.in15
2 files changed, 27 insertions, 3 deletions
diff --git a/acconfig.h b/acconfig.h
index 55c3db7..4270574 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 0c95dd0..0dc3f47 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