diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-04-23 15:13:12 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-04-23 15:13:12 +0400 |
commit | c28ff717cb27e01cc40bdaebdd2c3826c0a7707d (patch) | |
tree | f0cfcf4aac2d0fb1226b4305a90916998008436b /src/os/win32/ngx_files.h | |
parent | ae2f2b105ad8e56eea73720a094961cc9e665f3d (diff) |
issue start up errors and warning on both stderr and error_log
Diffstat (limited to 'src/os/win32/ngx_files.h')
-rw-r--r-- | src/os/win32/ngx_files.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os/win32/ngx_files.h b/src/os/win32/ngx_files.h index 636d14c19..f3561d9b3 100644 --- a/src/os/win32/ngx_files.h +++ b/src/os/win32/ngx_files.h @@ -237,4 +237,9 @@ ngx_int_t ngx_directio_off(ngx_fd_t fd); size_t ngx_fs_bsize(u_char *name); +#define ngx_stderr GetStdHandle(STD_ERROR_HANDLE) +#define ngx_set_stderr(fd) SetStdHandle(STD_ERROR_HANDLE, fd) +#define ngx_set_stderr_n "SetStdHandle(STD_ERROR_HANDLE)" + + #endif /* _NGX_FILES_H_INCLUDED_ */ |