diff --git a/projects/clr/hipamd/include/hip/amd_detail/host_defines.h b/projects/clr/hipamd/include/hip/amd_detail/host_defines.h index 3585a407f3..5aa38661f2 100644 --- a/projects/clr/hipamd/include/hip/amd_detail/host_defines.h +++ b/projects/clr/hipamd/include/hip/amd_detail/host_defines.h @@ -43,7 +43,11 @@ typedef signed char int8_t; typedef signed short int16_t; typedef signed int int32_t; typedef signed long long int64_t; +#if defined(_MSC_VER) +typedef unsigned long long size_t; +#else typedef unsigned long size_t; +#endif template struct integral_constant { static constexpr const _Tp value = __v;