diff --git a/libethash-cl/ethash_cl_miner.cpp b/libethash-cl/ethash_cl_miner.cpp index f5fcacb75..982e4ec9d 100644 --- a/libethash-cl/ethash_cl_miner.cpp +++ b/libethash-cl/ethash_cl_miner.cpp @@ -87,11 +87,11 @@ std::vector ethash_cl_miner::getPlatforms() } catch(cl::Error const& err) { - #if defined(CL_PLATFORM_NOT_FOUND_KHR) +#if defined(CL_PLATFORM_NOT_FOUND_KHR) if (err.err() == CL_PLATFORM_NOT_FOUND_KHR) ETHCL_LOG("No OpenCL platforms found"); else - #endif +#endif throw err; } return platforms;