mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
work around missing HOST_NAME_MAX too
This commit is contained in:
parent
fad3441ba9
commit
8141737318
7
configure
vendored
7
configure
vendored
@ -435,6 +435,13 @@ cat <<__HEREDOC__
|
|||||||
# define LOGIN_NAME_MAX 32
|
# define LOGIN_NAME_MAX 32
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef HOST_NAME_MAX
|
||||||
|
# if defined(_POSIX_HOST_NAME_MAX)
|
||||||
|
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
|
||||||
|
# else
|
||||||
|
# define HOST_NAME_MAX 255
|
||||||
|
#endif
|
||||||
__HEREDOC__
|
__HEREDOC__
|
||||||
|
|
||||||
echo "file config.h: written" 1>&2
|
echo "file config.h: written" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user