Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
b21b49a1
Commit
b21b49a1
authored
Apr 19, 2004
by
Mark Andrews
Browse files
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
parent
de6ceebf
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
b21b49a1
1615. [port] Define ISC_SOCKADDR_LEN_T based on _BSD_SOCKLEN_T_ if
it is defined.
1614. [placeholder] rt11101
1613. [placeholder] rt11119
...
...
lib/isc/unix/socket.c
View file @
b21b49a1
...
...
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.23
8
2004/04/1
5
0
1
:5
8:2
5 marka Exp $ */
/* $Id: socket.c,v 1.23
9
2004/04/1
9
0
2
:5
3:0
5 marka Exp $ */
#include
<config.h>
...
...
@@ -62,8 +62,12 @@
* some as socklen_t. This is here so it can be easily changed if needed.
*/
#ifndef ISC_SOCKADDR_LEN_T
#ifdef _BSD_SOCKLEN_T_
#define ISC_SOCKADDR_LEN_T _BSD_SOCKLEN_T_
#else
#define ISC_SOCKADDR_LEN_T unsigned int
#endif
#endif
/*
* Define what the possible "soft" errors can be. These are non-fatal returns
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment