fix time() funciton
This commit is contained in:
parent
9c53131ca8
commit
7540d35f5b
|
@ -162,6 +162,8 @@ void SZ_Finalize()
|
||||||
|
|
||||||
|
|
||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
int gettimeofday(struct timeval *tv, struct timezone *tz) {
|
int gettimeofday(struct timeval *tv, struct timezone *tz) {
|
||||||
time_t t;
|
time_t t;
|
||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
|
|
Loading…
Reference in New Issue