mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-15 04:03:18 +01:00
fallback to _POSIX_HOST_NAME_MAX if HOST_NAME_MAX is not defined
This commit is contained in:
1 parent
7e5bd46dd3
commit
f17b8de907
1 file changed
+4
@@ -77,6 +77,10 @@ feenableexcept (unsigned int excepts)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HOST_NAME_MAX
|
||||
#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
|
||||
#endif
|
||||
|
||||
NAMESPACE_BEGIN(Grid);
|
||||
|
||||
//////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user