svn commit: samba r25714 - in branches/SAMBA_4_0/source/lib/replace/system: .

metze at samba.org metze at samba.org
Wed Oct 24 12:55:41 GMT 2007


Author: metze
Date: 2007-10-24 12:55:40 +0000 (Wed, 24 Oct 2007)
New Revision: 25714

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25714

Log:
[libreplace] move define of a constant to near to the others

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/system/network.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/system/network.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/system/network.h	2007-10-24 12:53:34 UTC (rev 25713)
+++ branches/SAMBA_4_0/source/lib/replace/system/network.h	2007-10-24 12:55:40 UTC (rev 25714)
@@ -212,6 +212,10 @@
 #define INET6_ADDRSTRLEN 46
 #endif
 
+#ifndef HOST_NAME_MAX
+#define HOST_NAME_MAX 256
+#endif
+
 #ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;
 #endif
@@ -230,10 +234,6 @@
 #endif
 #endif
 
-#ifndef HOST_NAME_MAX
-#define HOST_NAME_MAX 256
-#endif
-
 #ifdef SOCKET_WRAPPER
 #ifndef SOCKET_WRAPPER_NOT_REPLACE
 #define SOCKET_WRAPPER_REPLACE



More information about the samba-cvs mailing list