Mercurial > hg > nginx
diff src/os/win32/ngx_socket.h @ 3:34a521b1a148
nginx-0.0.1-2002-08-20-18:48:28 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 20 Aug 2002 14:48:28 +0000 |
parents | ffffe1499bce |
children | 669801705ab1 |
line wrap: on
line diff
--- a/src/os/win32/ngx_socket.h Fri Aug 16 15:27:03 2002 +0000 +++ b/src/os/win32/ngx_socket.h Tue Aug 20 14:48:28 2002 +0000 @@ -3,14 +3,17 @@ #include <ngx_config.h> +#include <ngx_log.h> -typedef SOCKET ngx_socket_t; +typedef SOCKET ngx_socket_t; void ngx_init_sockets(ngx_log_t *log); int ngx_nonblocking_n(s); -#define ngx_nonblocking_n "ioctlsocket (FIONBIO)" +#define ngx_nonblocking_n "ioctlsocket (FIONBIO)" +#define ngx_close_socket closesocket +#define ngx_close_socket_n "closesocket" #endif /* _NGX_SOCKET_H_INCLUDED_ */