mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-11-15 09:23:56 +01:00
fix windows compile
- fix build documentation - fix plugin load methods - fix symbol export for plugins
This commit is contained in:
@@ -60,11 +60,15 @@ minethd::minethd(miner_work& pWork, size_t iNo, GpuContext* ctx)
|
||||
oWorkThd = std::thread(&minethd::work_main, this);
|
||||
}
|
||||
|
||||
extern "C" std::vector<IBackend*>* xmrstak_start_backend(uint32_t threadOffset, miner_work& pWork)
|
||||
extern "C" {
|
||||
#ifdef WIN32
|
||||
__declspec(dllexport)
|
||||
#endif
|
||||
std::vector<IBackend*>* xmrstak_start_backend(uint32_t threadOffset, miner_work& pWork)
|
||||
{
|
||||
return amd::minethd::thread_starter(threadOffset, pWork);
|
||||
}
|
||||
|
||||
} // extern "C"
|
||||
|
||||
bool minethd::init_gpus()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user