Add conditional compiulation for Windows fix.

This commit is contained in:
David Dawes
2018-05-24 20:28:26 -07:00
parent eb272b0eb6
commit 52cf66e138
2 changed files with 8 additions and 0 deletions

View File

@@ -1228,7 +1228,11 @@ void static BitcoinMiner_noeq()
if ((UintToArith256(pblock->nNonce) & mask) == mask)
{
#ifdef _WIN32
printf("%llu mega hashes complete - working\n", (ASSETCHAINS_NONCEMASK[ASSETCHAINS_ALGO] + 1) / 1048576);
#else
printf("%lu mega hashes complete - working\n", (ASSETCHAINS_NONCEMASK[ASSETCHAINS_ALGO] + 1) / 1048576);
#endif
break;
}