]> sourceware.org Git - glibc.git/commitdiff
Use HOST_NAME_MAX for MAXHOSTNAMELEN in <sys/param.h>.
authorRoland McGrath <roland@hack.frob.com>
Tue, 15 Sep 2015 22:27:58 +0000 (15:27 -0700)
committerRoland McGrath <roland@hack.frob.com>
Tue, 15 Sep 2015 22:27:58 +0000 (15:27 -0700)
ChangeLog
misc/sys/param.h

index c3dafcf00e194525c7ad50bdfb3e6d1ff98e2a71..ceedb33b480b1415ba71cb7b911490836c3fa19d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-15  Roland McGrath  <roland@hack.frob.com>
+
+       * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
+       (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
+
 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
 
        [BZ #18967]
index 62b7ed26f41c96cca3637271a1055f4aa0eccf65..1908b930b4577dff5f91472ce2315412c02233b5 100644 (file)
@@ -50,6 +50,9 @@
 #if !defined NOFILE && defined OPEN_MAX
 # define NOFILE                OPEN_MAX
 #endif
+#if !defined MAXHOSTNAMELEN && defined HOST_NAME_MAX
+# define MAXHOSTNAMELEN        HOST_NAME_MAX
+#endif
 #ifndef NCARGS
 # ifdef ARG_MAX
 #  define NCARGS       ARG_MAX
This page took 0.089979 seconds and 5 git commands to generate.