mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:43:32 +03:00
fix: remove need and definition of HAVE_SOCKLEN_T symbol
This commit is contained in:
parent
0163b5b8be
commit
d8efc99217
4 changed files with 2 additions and 12 deletions
|
|
@ -775,8 +775,6 @@ AC_DEFUN([CURL_CHECK_TYPE_SOCKLEN_T], [
|
|||
AC_REQUIRE([CURL_CHECK_HEADER_WS2TCPIP])dnl
|
||||
AC_CHECK_TYPE([socklen_t], [
|
||||
dnl socklen_t is available
|
||||
AC_DEFINE_UNQUOTED(HAVE_SOCKLEN_T, 1,
|
||||
[Define to 1 if socklen_t is available or a equivalent is defined.])
|
||||
],[
|
||||
dnl socklen_t not available
|
||||
AC_CACHE_CHECK([for socklen_t equivalent],
|
||||
|
|
@ -830,8 +828,6 @@ AC_DEFUN([CURL_CHECK_TYPE_SOCKLEN_T], [
|
|||
*)
|
||||
AC_DEFINE_UNQUOTED(socklen_t, $curl_cv_socklen_t_equiv,
|
||||
[Type to use in place of socklen_t when system does not provide it.])
|
||||
AC_DEFINE_UNQUOTED(HAVE_SOCKLEN_T, 1,
|
||||
[Define to 1 if socklen_t is available or a equivalent is defined.])
|
||||
;;
|
||||
esac
|
||||
],[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue