mirror of
https://github.com/GOSTSec/sgminer
synced 2025-08-26 13:52:02 +00:00
fix for mingw-w64
This commit is contained in:
parent
d56d4ced64
commit
32b13ccb46
@ -3044,7 +3044,7 @@ static void kill_mining(void)
|
|||||||
if (thr && PTH(thr) != 0L)
|
if (thr && PTH(thr) != 0L)
|
||||||
pth = &thr->pth;
|
pth = &thr->pth;
|
||||||
thr_info_cancel(thr);
|
thr_info_cancel(thr);
|
||||||
#ifndef WIN32
|
#if !defined WIN32 || defined __MINGW64_VERSION_MAJOR
|
||||||
if (pth && *pth)
|
if (pth && *pth)
|
||||||
pthread_join(*pth, NULL);
|
pthread_join(*pth, NULL);
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user