Mercurial > hg > nginx
comparison src/os/win32/ngx_win32_config.h @ 93:738fe44c70d5
nginx-0.0.1-2003-05-21-17:28:21 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 May 2003 13:28:21 +0000 |
parents | |
children | cd54bcbaf3b5 |
comparison
equal
deleted
inserted
replaced
92:19cc647ecd91 | 93:738fe44c70d5 |
---|---|
1 #ifndef _NGX_WIN32_CONFIG_H_INCLUDED_ | |
2 #define _NGX_WIN32_CONFIG_H_INCLUDED_ | |
3 | |
4 | |
5 #define WIN32 1 | |
6 | |
7 #include <winsock2.h> | |
8 #include <mswsock.h> | |
9 #include <stddef.h> /* offsetof */ | |
10 #include <stdio.h> | |
11 #include <stdarg.h> | |
12 | |
13 | |
14 #define ngx_inline __inline | |
15 | |
16 | |
17 #ifndef HAVE_INHERITED_NONBLOCK | |
18 #define HAVE_INHERITED_NONBLOCK 1 | |
19 #endif | |
20 | |
21 #ifndef HAVE_WIN32_TRANSMITPACKETS | |
22 #define HAVE_WIN32_TRANSMITPACKETS 1 | |
23 #define HAVE_WIN32_TRANSMITFILE 0 | |
24 #endif | |
25 | |
26 #ifndef HAVE_WIN32_TRANSMITFILE | |
27 #define HAVE_WIN32_TRANSMITFILE 1 | |
28 #endif | |
29 | |
30 #if (HAVE_WIN32_TRANSMITPACKETS) || (HAVE_WIN32_TRANSMITFILE) | |
31 #define HAVE_SENDFILE 1 | |
32 #endif | |
33 | |
34 | |
35 #endif /* _NGX_WIN32_CONFIG_H_INCLUDED_ */ |