tromp/equihash

Missing endian conversions on OSX

sammy007 opened this issue · 2 comments

...
./equi_miner.h:644:29: error: use of undeclared identifier 'htobe32'
...

I found random endian.h and compiled, would be nice to have it in repo.

Fixed by adding to equi_miner.h

#ifdef __APPLE__
#define htobe32(x) OSSwapHostToBigInt32(x)
#endif
tromp commented

Thanks for the fix, sammy007!