mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Revert "fix for mingw-w64"
This reverts commit 32b13ccb46eb2607c5fd40052318fcdbd8d32dca. Reported by Wolf0 (aka wolf9466) to not break MinGW 64-bit compilation with GCC 4.8.2 (latest stable).
This commit is contained in:
parent
e1b944ea41
commit
a57f841570
@ -3138,7 +3138,7 @@ static void kill_mining(void)
|
||||
if (thr && PTH(thr) != 0L)
|
||||
pth = &thr->pth;
|
||||
thr_info_cancel(thr);
|
||||
#if !defined(WIN32) || defined(__MINGW64_VERSION_MAJOR)
|
||||
#ifndef WIN32
|
||||
if (pth && *pth)
|
||||
pthread_join(*pth, NULL);
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user