diff --git a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp index 24cb4c6ea4..3569cf6442 100644 --- a/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp +++ b/projects/clr/rocclr/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp @@ -1627,11 +1627,15 @@ bool CALGSLDevice::gslSetClockMode(GSLClockModeInfo * clockModeInfo) { bool result = false; +#ifdef _WIN32 const void* requestClockInfo = reinterpret_cast(clockModeInfo); uint32 uReturn = m_adp->requestClockModeInfo((void*)requestClockInfo); if(uReturn == GSL_SETCLOCK_SUCCESS || uReturn == GSL_SETCLOCK_QUERY_ONLY) { result = true; } +#else + result = true; +#endif return result; } \ No newline at end of file