Browse Source

fix for mingw-w64

nfactor-troky
tonobitc 11 years ago
parent
commit
32b13ccb46
  1. 2
      sgminer.c

2
sgminer.c

@ -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…
Cancel
Save