1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +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:
Noel Maersk 2014-03-29 03:04:18 +02:00
parent e1b944ea41
commit a57f841570

View File

@ -3138,7 +3138,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);
#if !defined(WIN32) || defined(__MINGW64_VERSION_MAJOR) #ifndef WIN32
if (pth && *pth) if (pth && *pth)
pthread_join(*pth, NULL); pthread_join(*pth, NULL);
#else #else