aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_config.h13
-rw-r--r--src/core/ngx_log.c3
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 */
};