SWDEV-421102 - make clr compatible with c++20

Change-Id: Ia692817232caa3ee97dc0b2139645a0474b582e1
This commit is contained in:
Ajay
2023-09-14 11:40:53 -07:00
committed by Ajay GunaShekar
parent bf88980e0a
commit 2bae1b1387
7 changed files with 18 additions and 6 deletions
+10
View File
@@ -37,6 +37,16 @@
namespace amd {
bool Os::isValidFileDesc(const amd::Os::FileDesc& desc) {
#if defined(_WIN32)
return reinterpret_cast<int>(desc) > 0;
#else
return static_cast<int>(desc) > 0;
#endif
return false;
}
void* Os::loadLibrary(const char* libraryname) {
void* handle;