- Wrap DLL functions and DllMain in #ifdef _WIN32 in xmrig.cpp
- Fix Miner.cpp syntax by removing duplicate lines
- Windows throttling code now only compiles on Windows
- Linux builds should work without Windows-specific code
This commit reverts all previous CMake and C++ modifications made during the
attempt to implement automatic CUDA/OpenCL detection.
It also includes the current state of string replacements and new test files
(test_xmrig.cpp, dll_injector.cpp, dll_injectorWORKING.cpp) for debugging
application crashes.
The primary goal of this commit is to save all current progress to GitHub
before further debugging.