diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-07-11 04:50:59 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-07-11 04:50:59 +0000 |
| commit | a7f7fa878ce271af23bbb6e1586bae1273eb10d2 (patch) | |
| tree | 31684f5316ff58e748bf588cde8dd41bb7249f94 /src/core | |
| parent | b8c367c7b9155857f1c068624aa059830db57fa8 (diff) | |
| download | nginx-a7f7fa878ce271af23bbb6e1586bae1273eb10d2.tar.gz nginx-a7f7fa878ce271af23bbb6e1586bae1273eb10d2.tar.bz2 | |
nginx-0.0.1-2003-07-11-08:50:59 import
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ngx_config.h | 13 | ||||
| -rw-r--r-- | src/core/ngx_log.c | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/src/core/ngx_config.h b/src/core/ngx_config.h index 807ca06dc..4d7f86d59 100644 --- a/src/core/ngx_config.h +++ b/src/core/ngx_config.h @@ -33,6 +33,19 @@ +#if !(WIN32) + +#define ngx_signal_helper(n) SIG##n +#define ngx_signal_value(n) ngx_signal_helper(n) + +/* TODO: #ifndef */ +#define NGX_RESTART_SIGNAL HUP +#define NGX_ROTATE_SIGNAL USR1 + +#endif + + + /* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */ #define NGX_INVALID_ARRAY_INDEX 0x80000000 diff --git a/src/core/ngx_log.c b/src/core/ngx_log.c index c3cec3862..9ebac94e6 100644 --- a/src/core/ngx_log.c +++ b/src/core/ngx_log.c @@ -37,7 +37,8 @@ ngx_module_t ngx_errlog_module = { &errlog_name, /* module context */ ngx_errlog_commands, /* module directives */ NGX_CORE_MODULE, /* module type */ - NULL /* init module */ + NULL, /* init module */ + NULL /* init child */ }; |
