summaryrefslogtreecommitdiff
path: root/config.hw.in
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2007-10-22 08:58:19 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2007-10-22 08:58:19 +0000
commit64e73a5ffbefa46d87420013ca4279ac8b685acb (patch)
treeba2654c67c40cead03a654366f7c3a8c61ffedf5 /config.hw.in
parent6fefc9b02c455b962a7882edd27b434985b44968 (diff)
downloadneon-64e73a5ffbefa46d87420013ca4279ac8b685acb.tar.gz
* src/ne_socket.h (ne_sock_peer, ne_sock_prebind): Add prototypes.
* src/ne_socket.c (ne_sock_peer, ne_sock_prebind, do_bind): New functions. (ne_sock_connect): Use do_bind. (struct ne_socket_s): Add laddr, lport fields. * macros/neon.m4 (LIBNEON_SOURCE_CHECKS): Define socklen_t if not available. * config.hw.in: Define socklen_t. * test/socket.c (addr_peer, serve_ppeer, try_prebind, prebind): New tests. git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1268 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'config.hw.in')
-rw-r--r--config.hw.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.hw.in b/config.hw.in
index b486918..31c80ec 100644
--- a/config.hw.in
+++ b/config.hw.in
@@ -73,6 +73,8 @@
#define in_addr_t unsigned int
#endif
+#define socklen_t int
+
#include <io.h>
#define read _read