Mercurial > hg > nginx
view src/os/win32/ngx_time.h @ 122:cd91e4a1ad0d
nginx-0.0.1-2003-07-23-17:10:12 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Jul 2003 13:10:12 +0000 |
parents | 7ebc8b7fb816 |
children | 9f3a78b06c48 |
line wrap: on
line source
#ifndef _NGX_TIME_H_INCLUDED_ #define _NGX_TIME_H_INCLUDED_ #include <ngx_config.h> #include <ngx_core.h> typedef unsigned int ngx_msec_t; #define NGX_MAX_MSEC ~0 typedef SYSTEMTIME ngx_tm_t; typedef FILETIME ngx_mtime_t; #define ngx_tm_sec wSecond #define ngx_tm_min wMinute #define ngx_tm_hour wHour #define ngx_tm_mday wDay #define ngx_tm_mon wMonth #define ngx_tm_year wYear #define ngx_tm_wday wDayOfWeek #define ngx_msleep Sleep #define ngx_localtime GetLocalTime #define ngx_msec GetTickCount /* STUB */ #define ngx_time() time(NULL) #endif /* _NGX_TIME_H_INCLUDED_ */