diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-06-17 21:18:53 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-17 21:18:53 +0400 |
commit | 415b1ce1b93a3b74efe8a3ee5a35ee55e0a11caa (patch) | |
tree | 077bf24b4f310a87ab8bff140c730cb679069988 /src/os/win32 | |
parent | f924e6b694db7fd1d99473b3d7db7eb2b49c9e62 (diff) |
nginx-0.0.7-2004-06-17-21:18:53 import
Diffstat (limited to 'src/os/win32')
-rw-r--r-- | src/os/win32/ngx_shared.h | 12 | ||||
-rw-r--r-- | src/os/win32/ngx_time.c | 2 | ||||
-rw-r--r-- | src/os/win32/ngx_time.h | 7 |
3 files changed, 16 insertions, 5 deletions
diff --git a/src/os/win32/ngx_shared.h b/src/os/win32/ngx_shared.h new file mode 100644 index 000000000..ca077df42 --- /dev/null +++ b/src/os/win32/ngx_shared.h @@ -0,0 +1,12 @@ +#ifndef _NGX_SHARED_H_INCLUDED_ +#define _NGX_SHARED_H_INCLUDED_ + + +#include <ngx_config.h> +#include <ngx_core.h> + + +void *ngx_create_shared_memory(size_t size, ngx_log_t *log); + + +#endif /* _NGX_SHARED_H_INCLUDED_ */ diff --git a/src/os/win32/ngx_time.c b/src/os/win32/ngx_time.c index cef335707..85d1a3b6d 100644 --- a/src/os/win32/ngx_time.c +++ b/src/os/win32/ngx_time.c @@ -31,7 +31,7 @@ void ngx_gettimeofday(struct timeval *tp) } -ngx_int_t ngx_timezone(void) +ngx_int_t ngx_gettimezone(void) { TIME_ZONE_INFORMATION tz; diff --git a/src/os/win32/ngx_time.h b/src/os/win32/ngx_time.h index 9ed94baeb..f86011618 100644 --- a/src/os/win32/ngx_time.h +++ b/src/os/win32/ngx_time.h @@ -9,7 +9,6 @@ typedef uint64_t ngx_epoch_msec_t; typedef ngx_int_t ngx_msec_t; -#define NGX_MAX_MSEC (ngx_msec_t) -1 typedef SYSTEMTIME ngx_tm_t; @@ -32,11 +31,11 @@ typedef FILETIME ngx_mtime_t; #define ngx_tm_wday_t u_short -#define ngx_msleep Sleep +#define ngx_msleep Sleep -#define HAVE_TIMEZONE 1 +#define HAVE_GETIMEZONE 1 -ngx_int_t ngx_timezone(void); +ngx_int_t ngx_gettimezone(void); void ngx_gettimeofday(struct timeval *tp); |