1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-27 15:04:17 +00:00

Fix win32 build.

This commit is contained in:
Con Kolivas 2013-08-28 07:05:18 +10:00
parent e17a945277
commit c9c61e72c8

2
util.c
View File

@ -1017,7 +1017,7 @@ void cgtimer_time(cgtimer_t *ts_start)
ts_start->tv_sec = mts.tv_sec;
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)
{
struct timeval tv;