Mercurial > hg > nginx
changeset 1576:5cd655d5d2fa
Cygwin support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Oct 2007 14:14:30 +0000 |
parents | 08998303f3d6 |
children | 8009c3ad39a9 |
files | auto/headers src/os/unix/ngx_posix_config.h |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/auto/headers Tue Oct 16 14:12:52 2007 +0000 +++ b/auto/headers Tue Oct 16 14:14:30 2007 +0000 @@ -6,3 +6,5 @@ ngx_include="inttypes.h"; . auto/include ngx_include="limits.h"; . auto/include ngx_include="sys/filio.h"; . auto/include +ngx_include="crypt.h"; . auto/include +ngx_include="malloc.h"; . auto/include
--- a/src/os/unix/ngx_posix_config.h Tue Oct 16 14:12:52 2007 +0000 +++ b/src/os/unix/ngx_posix_config.h Tue Oct 16 14:14:30 2007 +0000 @@ -19,6 +19,11 @@ #endif +#ifdef __CYGWIN__ +#define timezonevar /* timezone is variable */ +#endif + + #include <sys/types.h> #include <sys/time.h> #if (NGX_HAVE_UNISTD_H) @@ -64,6 +69,15 @@ #include <limits.h> /* IOV_MAX */ #endif +#if (NGX_HAVE_MALLOC_H) +#include <malloc.h> /* memalign() */ +#endif + +#if (NGX_HAVE_CRYPT_H) +#include <crypt.h> +#endif + + #ifndef IOV_MAX #define IOV_MAX 16 #endif