cryptozoidberg / cpuminer-multi

Multi-algo CPUMiner
Other
12 stars 31 forks source link

Update miner.h #6

Closed Mariu5 closed 9 years ago

Mariu5 commented 9 years ago

fixes compiler errors on OS X 10.9

otila commented 9 years ago

Doesn't OSX support huge pages?

Mariu5 commented 9 years ago

i don't know it's a common fix.

otila commented 9 years ago

can you try this, I fixed it differently https://github.com/otila/cpuminer-multi

Mariu5 commented 9 years ago

works. no errors

otila commented 9 years ago

wolf, comment was about otila cpuminer-multi.

mariu5's patch does not include sys/mmap.h in miner.h so when compiling util.c and wildkeccak.c , it defines MAP_HUGETLB and MAP_POPULATE to 0. I like to do this correcly so I revert this.

OhGodAPet commented 9 years ago

Oh, damn - I thought the patch was from you, otila.