summaryrefslogtreecommitdiff
path: root/lib/replace/system
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2010-12-12 12:04:51 +0300
committerMatthieu Patou <mat@matws.net>2010-12-12 12:07:38 +0300
commit993b4aa07e35b612a4f9b6eddecae704b8e01aaa (patch)
treef760ee8f2a6f2e08cd7b1808bc91b0796bc71305 /lib/replace/system
parent6bc6c004fadadc8d9ddfeff3c1a5ba6e5d5423d9 (diff)
downloadsamba-993b4aa07e35b612a4f9b6eddecae704b8e01aaa.tar.gz
samba-993b4aa07e35b612a4f9b6eddecae704b8e01aaa.tar.bz2
samba-993b4aa07e35b612a4f9b6eddecae704b8e01aaa.zip
replace: add comments to make the #ifdef/#else/endif more readable
Diffstat (limited to 'lib/replace/system')
-rw-r--r--lib/replace/system/network.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index 93d533c9b9..f7c1bcfacb 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -307,12 +307,12 @@ typedef unsigned short int sa_family_t;
#define sockaddr_storage sockaddr_in6
#define ss_family sin6_family
#define HAVE_SS_FAMILY 1
-#else
+#else /*HAVE_STRUCT_SOCKADDR_IN6*/
#define sockaddr_storage sockaddr_in
#define ss_family sin_family
#define HAVE_SS_FAMILY 1
-#endif
-#endif
+#endif /*HAVE_STRUCT_SOCKADDR_IN6*/
+#endif /*HAVE_STRUCT_SOCKADDR_STORAGE*/
#ifndef HAVE_SS_FAMILY
#ifdef HAVE___SS_FAMILY