mirror of
https://github.com/git/git.git
synced 2026-04-11 17:30:08 +02:00
Some platforms lack socklen_t type
Some platforms do not have a socklen_t type declaration. Signed-off-by: Gary V. Vaughan <gary@thewrittenword.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
5a857c74ba
commit
e88a135bc5
@@ -633,6 +633,12 @@ AC_SUBST(OLD_ICONV)
|
||||
## Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_MSG_NOTICE([CHECKS for typedefs, structures, and compiler characteristics])
|
||||
#
|
||||
TYPE_SOCKLEN_T
|
||||
case $ac_cv_type_socklen_t in
|
||||
yes) ;;
|
||||
*) AC_SUBST([SOCKLEN_T], [$git_cv_socklen_t_equiv]) ;;
|
||||
esac
|
||||
|
||||
# Define NO_D_INO_IN_DIRENT if you don't have d_ino in your struct dirent.
|
||||
AC_CHECK_MEMBER(struct dirent.d_ino,
|
||||
[NO_D_INO_IN_DIRENT=],
|
||||
|
||||
Reference in New Issue
Block a user