comparison src/os/unix/ngx_posix_config.h @ 1719:2ab8bb66d3d7 stable-0.5

r1577, r1582 merge: Cygwin support
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Dec 2007 20:38:44 +0000
parents 1a1fe29fdb17
children 4300c587db9e
comparison
equal deleted inserted replaced
1718:5b24b2decde8 1719:2ab8bb66d3d7
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 */
24 #define NGX_BROKEN_SCM_RIGHTS 1
19 #endif 25 #endif
20 26
21 27
22 #include <sys/types.h> 28 #include <sys/types.h>
23 #include <sys/time.h> 29 #include <sys/time.h>
62 68
63 #if (NGX_HAVE_LIMITS_H) 69 #if (NGX_HAVE_LIMITS_H)
64 #include <limits.h> /* IOV_MAX */ 70 #include <limits.h> /* IOV_MAX */
65 #endif 71 #endif
66 72
73 #if (NGX_HAVE_MALLOC_H)
74 #include <malloc.h> /* memalign() */
75 #endif
76
77 #if (NGX_HAVE_CRYPT_H)
78 #include <crypt.h>
79 #endif
80
81
67 #ifndef IOV_MAX 82 #ifndef IOV_MAX
68 #define IOV_MAX 16 83 #define IOV_MAX 16
69 #endif 84 #endif
70 85
71 86