Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-10-10 16:59:41 +0400
committerIgor Sysoev <igor@sysoev.ru>2005-10-10 16:59:41 +0400
commit1bfa7bc78a23c0150e0bbf854e778dba4df30031 (patch)
tree25779bc18366a22cabccd56a89e0af11025d7c8a /src/os/unix/ngx_process.h
parentb29779caaf628afc28baffb71763f0725da2e0e4 (diff)
nginx-0.3.1-RELEASE importrelease-0.3.1
*) Bugfix: the segmentation fault occurred when the signal queue overflowed if the "rtsig" method was used; the bug had appeared in 0.2.0. *) Change: correct handling of the "\\", "\"", "\'", and "\$" pairs in SSI.
Diffstat (limited to 'src/os/unix/ngx_process.h')
-rw-r--r--src/os/unix/ngx_process.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os/unix/ngx_process.h b/src/os/unix/ngx_process.h
index 06ff21cfe..a34ca6142 100644
--- a/src/os/unix/ngx_process.h
+++ b/src/os/unix/ngx_process.h
@@ -51,7 +51,11 @@ typedef struct {
#define ngx_getpid getpid
+
+#ifndef ngx_log_pid
#define ngx_log_pid ngx_pid
+#endif
+
ngx_pid_t ngx_spawn_process(ngx_cycle_t *cycle,
ngx_spawn_proc_pt proc, void *data, char *name, ngx_int_t respawn);