694af0fc34
1. Add tune/speed build capability 2. Add JM's Core2 code
26 lines
458 B
C
26 lines
458 B
C
/*
|
|
* timeval.h 1.0 01/12/19
|
|
*
|
|
* Defines gettimeofday, timeval, etc. for Win32
|
|
*
|
|
* By Wu Yongwei
|
|
*
|
|
*/
|
|
|
|
#ifndef _TIMEVAL_H
|
|
#define _TIMEVAL_H
|
|
|
|
#define EPOCHFILETIME (116444736000000000LL)
|
|
|
|
#include <winsock2.h>
|
|
|
|
struct timezone
|
|
{
|
|
int tz_minuteswest; /* minutes W of Greenwich */
|
|
int tz_dsttime; /* type of dst correction */
|
|
};
|
|
|
|
int gettimeofday(struct timeval *tv, struct timezone *tz);
|
|
|
|
#endif /* _TIMEVAL_H */
|