diff options
Diffstat (limited to 'src/core/ngx_config.h')
| -rw-r--r-- | src/core/ngx_config.h | 13 |
1 files changed, 13 insertions, 0 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 |
