fix time() funciton

This commit is contained in:
tickduan 2021-07-08 20:14:10 +08:00
parent 9c53131ca8
commit 7540d35f5b
1 changed files with 2 additions and 0 deletions

2
deps/SZ/sz/src/sz.c vendored
View File

@ -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);