aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_socket.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-16 21:49:42 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-16 21:49:42 +0000
commitf2e676aa1585de170b39cf3e9d71b88db47e4b1b (patch)
tree3553b3481de51b2321b201ae34024f178af894c1 /src/os/win32/ngx_socket.h
parent297c0487518d4b974a548dfd3d5d2f10c250177c (diff)
downloadnginx-f2e676aa1585de170b39cf3e9d71b88db47e4b1b.tar.gz
nginx-f2e676aa1585de170b39cf3e9d71b88db47e4b1b.zip
nginx-0.0.1-2003-11-17-00:49:42 import
Diffstat (limited to 'src/os/win32/ngx_socket.h')
-rw-r--r--src/os/win32/ngx_socket.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os/win32/ngx_socket.h b/src/os/win32/ngx_socket.h
index a78c40c6b..86231030f 100644
--- a/src/os/win32/ngx_socket.h
+++ b/src/os/win32/ngx_socket.h
@@ -13,8 +13,12 @@ typedef SOCKET ngx_socket_t;
typedef int socklen_t;
+#define ngx_socket(af, type, proto, flags) socket(af, type, proto)
+
+#if 0
#define ngx_socket(af, type, proto, flags) \
WSASocket(af, type, proto, NULL, 0, flags)
+#endif
#define ngx_socket_n "WSASocket()"
@@ -36,7 +40,7 @@ extern LPFN_GETACCEPTEXSOCKADDRS getacceptexsockaddrs;
extern LPFN_TRANSMITFILE transmitfile;
-ngx_inline int ngx_tcp_push(s) {
+static ngx_inline int ngx_tcp_push(ngx_socket_t s) {
return 0;
}