mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-28 23:44:30 +00:00
Fix win32 build.
This commit is contained in:
parent
e17a945277
commit
c9c61e72c8
2
util.c
2
util.c
@ -1017,7 +1017,7 @@ void cgtimer_time(cgtimer_t *ts_start)
|
|||||||
ts_start->tv_sec = mts.tv_sec;
|
ts_start->tv_sec = mts.tv_sec;
|
||||||
ts_start->tv_nsec = mts.tv_nsec;
|
ts_start->tv_nsec = mts.tv_nsec;
|
||||||
}
|
}
|
||||||
#else /* __MACH__ - Everything not linux/macosx/win32 */
|
#elif !defined(WIN32) /* __MACH__ - Everything not linux/macosx/win32 */
|
||||||
void cgtimer_time(cgtimer_t *ts_start)
|
void cgtimer_time(cgtimer_t *ts_start)
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user