mirror of
https://github.com/nginx/nginx.git
synced 2026-04-24 07:37:46 -04:00
Cygwin support
This commit is contained in:
parent
dde2abde39
commit
80c94f260e
2 changed files with 16 additions and 0 deletions
|
|
@ -6,3 +6,5 @@ ngx_include="unistd.h"; . auto/include
|
|||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue