mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-11-18 10:13:55 +01:00
fix windows compile
- fix build documentation - fix plugin load methods - fix symbol export for plugins
This commit is contained in:
@@ -105,10 +105,16 @@ bool minethd::self_test()
|
||||
}
|
||||
|
||||
|
||||
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 nvidia::minethd::thread_starter(threadOffset, pWork);
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
std::vector<IBackend*>* minethd::thread_starter(uint32_t threadOffset, miner_work& pWork)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user