mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
When checking the type of the first argument of getnameinfo do it in the
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.
This commit is contained in:
parent
0ad3e046a4
commit
5fd8dd2dce
@ -202,7 +202,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
|||||||
AC_CACHE_CHECK([types of arguments for getnameinfo],
|
AC_CACHE_CHECK([types of arguments for getnameinfo],
|
||||||
[curl_cv_func_getnameinfo_args], [
|
[curl_cv_func_getnameinfo_args], [
|
||||||
curl_cv_func_getnameinfo_args="unknown"
|
curl_cv_func_getnameinfo_args="unknown"
|
||||||
for gni_arg1 in 'const struct sockaddr *' 'struct sockaddr *' 'void *' 'char *'; do
|
for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
|
||||||
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
|
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
|
||||||
for gni_arg46 in 'size_t' 'int' 'socklen_t'; do
|
for gni_arg46 in 'size_t' 'int' 'socklen_t'; do
|
||||||
for gni_arg7 in 'int' 'unsigned int'; do
|
for gni_arg7 in 'int' 'unsigned int'; do
|
||||||
|
@ -202,7 +202,7 @@ AC_DEFUN([CURL_FUNC_GETNAMEINFO_ARGTYPES], [
|
|||||||
AC_CACHE_CHECK([types of arguments for getnameinfo],
|
AC_CACHE_CHECK([types of arguments for getnameinfo],
|
||||||
[curl_cv_func_getnameinfo_args], [
|
[curl_cv_func_getnameinfo_args], [
|
||||||
curl_cv_func_getnameinfo_args="unknown"
|
curl_cv_func_getnameinfo_args="unknown"
|
||||||
for gni_arg1 in 'const struct sockaddr *' 'struct sockaddr *' 'void *' 'char *'; do
|
for gni_arg1 in 'struct sockaddr *' 'const struct sockaddr *' 'void *'; do
|
||||||
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
|
for gni_arg2 in 'socklen_t' 'size_t' 'int'; do
|
||||||
for gni_arg46 in 'size_t' 'int' 'socklen_t'; do
|
for gni_arg46 in 'size_t' 'int' 'socklen_t'; do
|
||||||
for gni_arg7 in 'int' 'unsigned int'; do
|
for gni_arg7 in 'int' 'unsigned int'; do
|
||||||
|
Loading…
Reference in New Issue
Block a user