cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
688 stars 303 forks source link

Configure for Apple and guard malloc include #89

Open myshen opened 10 years ago

justinmuller commented 10 years ago

I had been doing this manually each time I updated, good work @myshen. But, what is the commit of sha3.cpp for? How is this related to building on Darwin?

myshen commented 10 years ago

Good question, I screwed up. I've removed the sha3.cpp. I hope I didn't do it the wrong way.

coercion commented 10 years ago

OS X doesn't need a malloc include. This is what I've been patching with.

#ifndef __APPLE__
#include <malloc.h>
#endif
myshen commented 10 years ago

Updated to use @coercion's method.