Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_config.h @ 1576:5cd655d5d2fa
Cygwin support
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 16 Oct 2007 14:14:30 +0000 |
parents | 0d57c150115b |
children | 81774dc3db28 |
comparison
equal
deleted
inserted
replaced
1575:08998303f3d6 | 1576:5cd655d5d2fa |
---|---|
14 #endif | 14 #endif |
15 | 15 |
16 | 16 |
17 #if (NGX_TRU64) | 17 #if (NGX_TRU64) |
18 #define _REENTRANT | 18 #define _REENTRANT |
19 #endif | |
20 | |
21 | |
22 #ifdef __CYGWIN__ | |
23 #define timezonevar /* timezone is variable */ | |
19 #endif | 24 #endif |
20 | 25 |
21 | 26 |
22 #include <sys/types.h> | 27 #include <sys/types.h> |
23 #include <sys/time.h> | 28 #include <sys/time.h> |
62 | 67 |
63 #if (NGX_HAVE_LIMITS_H) | 68 #if (NGX_HAVE_LIMITS_H) |
64 #include <limits.h> /* IOV_MAX */ | 69 #include <limits.h> /* IOV_MAX */ |
65 #endif | 70 #endif |
66 | 71 |
72 #if (NGX_HAVE_MALLOC_H) | |
73 #include <malloc.h> /* memalign() */ | |
74 #endif | |
75 | |
76 #if (NGX_HAVE_CRYPT_H) | |
77 #include <crypt.h> | |
78 #endif | |
79 | |
80 | |
67 #ifndef IOV_MAX | 81 #ifndef IOV_MAX |
68 #define IOV_MAX 16 | 82 #define IOV_MAX 16 |
69 #endif | 83 #endif |
70 | 84 |
71 | 85 |