Mercurial > hg > nginx
comparison src/core/ngx_config.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 | d220029ac7f3 |
children | 669801705ab1 |
comparison
equal
deleted
inserted
replaced
2:ffffe1499bce | 3:34a521b1a148 |
---|---|
25 #define ngx_inline __inline | 25 #define ngx_inline __inline |
26 | 26 |
27 #define ngx_memzero ZeroMemory | 27 #define ngx_memzero ZeroMemory |
28 | 28 |
29 #define ngx_close_socket closesocket | 29 #define ngx_close_socket closesocket |
30 | |
31 #ifndef HAVE_INHERITED_NONBLOCK | |
32 #define HAVE_INHERITED_NONBLOCK 1 | |
33 #endif | |
30 | 34 |
31 #ifndef HAVE_WIN32_TRANSMITPACKETS | 35 #ifndef HAVE_WIN32_TRANSMITPACKETS |
32 #define HAVE_WIN32_TRANSMITPACKETS 1 | 36 #define HAVE_WIN32_TRANSMITPACKETS 1 |
33 #define HAVE_WIN32_TRANSMITFILE 0 | 37 #define HAVE_WIN32_TRANSMITFILE 0 |
34 #endif | 38 #endif |
86 | 90 |
87 #ifdef __FreeBSD__ | 91 #ifdef __FreeBSD__ |
88 | 92 |
89 #include <osreldate.h> | 93 #include <osreldate.h> |
90 | 94 |
95 #ifndef HAVE_INHERITED_NONBLOCK | |
96 #define HAVE_INHERITED_NONBLOCK 1 | |
97 #endif | |
98 | |
91 #if __FreeBSD_version >= 300007 | 99 #if __FreeBSD_version >= 300007 |
92 | 100 |
93 #ifndef HAVE_FREEBSD_SENDFILE | 101 #ifndef HAVE_FREEBSD_SENDFILE |
94 #define HAVE_FREEBSD_SENDFILE 1 | 102 #define HAVE_FREEBSD_SENDFILE 1 |
95 #endif | 103 #endif |
127 | 135 |
128 | 136 |
129 #endif /* __FreeBSD__ */ | 137 #endif /* __FreeBSD__ */ |
130 | 138 |
131 | 139 |
140 #ifdef __SOME_OS_TEMPLATE__ | |
141 | |
142 #ifndef HAVE_INHERITED_NONBLOCK | |
143 #define HAVE_INHERITED_NONBLOCK 1 | |
144 #endif | |
145 | |
146 #endif | |
147 | |
148 | |
132 #endif /* _NGX_CONFIG_H_INCLUDED_ */ | 149 #endif /* _NGX_CONFIG_H_INCLUDED_ */ |