aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2005-12-19 21:45:43 +0000
committerYang Tse <yangsita@gmail.com>2005-12-19 21:45:43 +0000
commit898bb397b198e0cd3fae5d09751edfef6f26ca54 (patch)
tree29403f905fb5a9179b06a8351ecc0052fffac48b
parent74ed5b5ebd0265af4a1605aa15d03f0188a52338 (diff)
Add checking for type DWORD as argument 4 and 6 of getnameinfo
-rw-r--r--acinclude.m42
-rw-r--r--ares/acinclude.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 47aada309..9bfb09e84 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -222,7 +222,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
curl_cv_func_getnameinfo_args="unknown"
for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
- for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
+ for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int' 'DWORD'; do
for gni_arg7 in 'int' 'unsigned int'; do
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index d66351ea2..df89d8b43 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -222,7 +222,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
curl_cv_func_getnameinfo_args="unknown"
for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
- for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int'; do
+ for gni_arg46 in 'size_t' 'int' 'socklen_t' 'unsigned int' 'DWORD'; do
for gni_arg7 in 'int' 'unsigned int'; do
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([