Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -28,6 +28,10 @@ #define ngx_close_socket closesocket +#ifndef HAVE_INHERITED_NONBLOCK +#define HAVE_INHERITED_NONBLOCK 1 +#endif + #ifndef HAVE_WIN32_TRANSMITPACKETS #define HAVE_WIN32_TRANSMITPACKETS 1 #define HAVE_WIN32_TRANSMITFILE 0 @@ -88,6 +92,10 @@ #include <osreldate.h> +#ifndef HAVE_INHERITED_NONBLOCK +#define HAVE_INHERITED_NONBLOCK 1 +#endif + #if __FreeBSD_version >= 300007 #ifndef HAVE_FREEBSD_SENDFILE @@ -129,4 +137,13 @@ #endif /* __FreeBSD__ */ +#ifdef __SOME_OS_TEMPLATE__ + +#ifndef HAVE_INHERITED_NONBLOCK +#define HAVE_INHERITED_NONBLOCK 1 +#endif + +#endif + + #endif /* _NGX_CONFIG_H_INCLUDED_ */