diff --git a/projects/clr/hipamd/include/hip/amd_detail/device_functions.h b/projects/clr/hipamd/include/hip/amd_detail/device_functions.h index 0e37e256df..c7cba34313 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/device_functions.h +++ b/projects/clr/hipamd/include/hip/amd_detail/device_functions.h @@ -34,12 +34,12 @@ THE SOFTWARE. #include #include -#if __HIP_CLANG_ONLY__ && !_WIN32 +#if __HIP_CLANG_ONLY__ extern "C" __device__ int printf(const char *fmt, ...); #else template static inline __device__ void printf(const char* format, All... all) {} -#endif // __HIP_CLANG_ONLY__ && !_WIN32 +#endif // __HIP_CLANG_ONLY__ /* Integer Intrinsics