Mercurial > hg > nginx-quic
view src/os/win32/ngx_time.h @ 34:95f1c2a938f3
nginx-0.0.1-2002-12-20-09:54:55 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 20 Dec 2002 06:54:55 +0000 |
parents | 53cb81681040 |
children | b288069a8696 |
line wrap: on
line source
#ifndef _NGX_TIME_H_INCLUDED_ #define _NGX_TIME_H_INCLUDED_ #include <windows.h> typedef unsigned int ngx_msec_t; 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_ */