git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bc6c00
)
replace: add comments to make the #ifdef/#else/endif more readable
author
Matthieu Patou
<mat@matws.net>
Sun, 12 Dec 2010 09:04:51 +0000
(12:04 +0300)
committer
Matthieu Patou
<mat@matws.net>
Sun, 12 Dec 2010 09:07:38 +0000
(12:07 +0300)
lib/replace/system/network.h
patch
|
blob
|
history
diff --git
a/lib/replace/system/network.h
b/lib/replace/system/network.h
index 93d533c9b972d660da676e9cefc45b789847e592..f7c1bcfacbb2086d041f2f19022b962c2eb17f0f 100644
(file)
--- 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