Klaus Demo nginx / 0993e09
r1577, r1582 merge: Cygwin support Igor Sysoev 14 years ago
3 changed file(s) with 25 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
55 ngx_include="inttypes.h"; . auto/include
66 ngx_include="limits.h"; . auto/include
77 ngx_include="sys/filio.h"; . auto/include
8 ngx_include="crypt.h"; . auto/include
9 ngx_include="malloc.h"; . auto/include
1515
1616 #if (NGX_TRU64)
1717 #define _REENTRANT
18 #endif
19
20
21 #ifdef __CYGWIN__
22 #define timezonevar /* timezone is variable */
23 #define NGX_BROKEN_SCM_RIGHTS 1
1824 #endif
1925
2026
6369 #include <limits.h> /* IOV_MAX */
6470 #endif
6571
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
6681 #ifndef IOV_MAX
6782 #define IOV_MAX 16
6883 #endif
408408 ngx_err_t err;
409409 ngx_channel_t ch;
410410
411 #if (NGX_BROKEN_SCM_RIGHTS)
412
413 ch.command = 0;
414
415 #else
416
411417 switch (signo) {
412418
413419 case ngx_signal_value(NGX_SHUTDOWN_SIGNAL):
425431 default:
426432 ch.command = 0;
427433 }
434
435 #endif
428436
429437 ch.fd = -1;
430438