diff options
author | Omar Polo <op@omarpolo.com> | 2022-10-30 07:40:27 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-10-30 07:40:27 +0000 |
commit | 81417373189ce7ba8b49143cf0a623856e4e84e4 (patch) | |
tree | 1c6b3618d547b0b693ab8fe9ece920449d11df1f /configure | |
parent | fad3441ba9cd67fb34b6a5e28b3161c075c0b14f (diff) |
work around missing HOST_NAME_MAX too
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -435,6 +435,13 @@ cat <<__HEREDOC__ # define LOGIN_NAME_MAX 32 # 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__ echo "file config.h: written" 1>&2 |